@@ -161,11 +161,11 @@ select = [
161
161
" ANN" , # flake8-annotations (missing type annotations for arguments or return types)
162
162
" ARG" , # flake8-unused-arguments (functions or methods with arguments that are never used)
163
163
" ASYNC" , # flake8-async (async await bugs)
164
- # "B", # flake8-bugbear (various likely bugs and design issues)
165
- " BLE" , # flake8-blind-except (force more specific exception types than just Exception)
166
- " C4" , # flake8-comprehensions (warn about things that could be written as a comprehensions but aren't)
167
- " C90" , # McCabe cyclomatic complexity (warn about functions that are too complex)
168
- " COM" , # flake8-commas (forces commas at the end of every type of iterable/container
164
+ " B" , # flake8-bugbear (various likely bugs and design issues)
165
+ " BLE" , # flake8-blind-except (force more specific exception types than just Exception)
166
+ " C4" , # flake8-comprehensions (warn about things that could be written as a comprehensions but aren't)
167
+ " C90" , # McCabe cyclomatic complexity (warn about functions that are too complex)
168
+ " COM" , # flake8-commas (forces commas at the end of every type of iterable/container
169
169
# "CPY", # flake8-copyright (warn about missing copyright notice at top of file - currently in preview)
170
170
# "D", # pydocstyle (warn about things like missing docstrings)
171
171
# "DOC", # pydoclint (docstring warnings - currently in preview)
@@ -258,6 +258,11 @@ per-file-ignores."cmd2/__init__.py" = [
258
258
" F401" , # Unused import
259
259
]
260
260
261
+ per-file-ignores."cmd2/argparse_custom.py" = [
262
+ " B010" , # Do not call setattr with a constant attribute value
263
+ ]
264
+
265
+
261
266
per-file-ignores."examples/*.py" = [
262
267
" ANN" , # Ignore all type annotation rules in examples folder
263
268
" D" , # Ignore all pydocstyle rules in examples folder
0 commit comments