From 8d3cfe46ed96dff6d829c7f2b612d7e1e5aefd19 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Thu, 15 Jul 2021 09:52:43 -0400 Subject: [PATCH] Ignore a new pep8-naming error The new error 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). --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 761ab1de3..7bcd41620 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,6 +26,7 @@ ignore = FI50, # `__future__` import "division" present FI51, # `__future__` import "absolute_import" present FI53, # `__future__` import "print_function" present + N818, # Exception subclasses should be named with an Error suffix per-file-ignores = ./beet:D ./docs/conf.py:D