You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cleo's exceptions end in the suffix *Exception. PEP8 stipulates that exceptions should end in the suffix *Error. The pep8-naming flake8 extension is installed as a pre-commit hook, but is not triggering (for some reason).
I tried activating the flake8 error, but with no luck. Might be just my lack of experience with configuring flake8. However, I don't think that *Exception is really wrong. I know it's not strictly in line with PEP8, but it's quite common to see it in projects.
Cleo's exceptions end in the suffix
*Exception
. PEP8 stipulates that exceptions should end in the suffix*Error
. Thepep8-naming
flake8 extension is installed as a pre-commit hook, but is not triggering (for some reason).see https://peps.python.org/pep-0008/#exception-names
The text was updated successfully, but these errors were encountered: