-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2024-1bd8b2a29c 2024-06-26 01:54:41.557084 -------------------------------------------------------------------------------- Name : python-flake8-blind-except Product : Fedora 40 Version : 0.2.1 Release : 2.fc40 URL : https://github.com/elijahandrews/flake8-blind-except Summary : A flake8 extension that checks for catch-all except statements Description : A flake8 extension that checks for blind, catch-all "except:" and "except Exception:" statements. As of pycodestyle 2.1.0, "E722 do not use bare except, specify exception instead" is built-in. However, bare Exception and BaseException are still allowed. This extension flags them as B902. Using except without explicitly specifying which exceptions to catch is generally considered bad practice, since it catches system signals like SIGINT. You probably want to handle system interrupts differently than exceptions occurring in your code. -------------------------------------------------------------------------------- Update Information: Initial package -------------------------------------------------------------------------------- ChangeLog: * Mon Nov 21 2022 Scott K Logan <logans@xxxxxxxxxxx> - 0.2.1-2 - Define _description variable to reduce duplication - Drop macro from URL to improve ergonomics - Enable doctest check using pytest * Thu Nov 10 2022 Scott K Logan <logans@xxxxxxxxxxx> - 0.2.1-1 - Initial package (rhbz#2141866) -------------------------------------------------------------------------------- References: [ 1 ] Bug #2141866 - Review Request: python-flake8-blind-except - A flake8 extension that checks for catch-all except statements https://bugzilla.redhat.com/show_bug.cgi?id=2141866 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2024-1bd8b2a29c' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgrade-command-label All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- -- _______________________________________________ package-announce mailing list -- package-announce@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-announce-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-announce@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue