Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python3-flake8-blind-except | Distribution: Fedora Project |
Version: 0.2.1 | Vendor: Fedora Project |
Release: 2.el9 | Build date: Mon Jun 17 17:30:13 2024 |
Group: Unspecified | Build host: buildvm-ppc64le-21.iad2.fedoraproject.org |
Size: 10260 | Source RPM: python-flake8-blind-except-0.2.1-2.el9.src.rpm |
Packager: Fedora Project | |
Url: https://github.com/elijahandrews/flake8-blind-except | |
Summary: A flake8 extension that checks for catch-all except statements |
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.
MIT
* Mon Nov 21 2022 Scott K Logan <logans@cottsay.net> - 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@cottsay.net> - 0.2.1-1 - Initial package (rhbz#2141866)
/usr/lib/python3.9/site-packages/__pycache__/flake8_blind_except.cpython-39.opt-1.pyc /usr/lib/python3.9/site-packages/__pycache__/flake8_blind_except.cpython-39.pyc /usr/lib/python3.9/site-packages/flake8_blind_except-0.2.1.dist-info /usr/lib/python3.9/site-packages/flake8_blind_except-0.2.1.dist-info/INSTALLER /usr/lib/python3.9/site-packages/flake8_blind_except-0.2.1.dist-info/LICENSE /usr/lib/python3.9/site-packages/flake8_blind_except-0.2.1.dist-info/METADATA /usr/lib/python3.9/site-packages/flake8_blind_except-0.2.1.dist-info/WHEEL /usr/lib/python3.9/site-packages/flake8_blind_except-0.2.1.dist-info/entry_points.txt /usr/lib/python3.9/site-packages/flake8_blind_except-0.2.1.dist-info/top_level.txt /usr/lib/python3.9/site-packages/flake8_blind_except.py /usr/share/doc/python3-flake8-blind-except /usr/share/doc/python3-flake8-blind-except/README.rst
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Nov 15 07:51:05 2024