Skip to content

Commit 8d3cfe4

Browse files
committedJul 15, 2021
Ignore a new pep8-naming error
The new error <PyCQA/pep8-naming#157> strikes me as a little overzealous: while most exceptions are errors, there are some Exception subclasses that are *not* properly considered errors (e.g., when they're only a base class for other error classes).
1 parent 0f9ffee commit 8d3cfe4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎setup.cfg

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ ignore =
2626
FI50, # `__future__` import "division" present
2727
FI51, # `__future__` import "absolute_import" present
2828
FI53, # `__future__` import "print_function" present
29+
N818, # Exception subclasses should be named with an Error suffix
2930
per-file-ignores =
3031
./beet:D
3132
./docs/conf.py:D

0 commit comments

Comments
 (0)
Please sign in to comment.