@@ -161,11 +161,11 @@ select = [
161161 " ANN" , # flake8-annotations (missing type annotations for arguments or return types)
162162 " ARG" , # flake8-unused-arguments (functions or methods with arguments that are never used)
163163 " 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
169169 # "CPY", # flake8-copyright (warn about missing copyright notice at top of file - currently in preview)
170170 # "D", # pydocstyle (warn about things like missing docstrings)
171171 # "DOC", # pydoclint (docstring warnings - currently in preview)
@@ -258,6 +258,11 @@ per-file-ignores."cmd2/__init__.py" = [
258258 " F401" , # Unused import
259259]
260260
261+ per-file-ignores."cmd2/argparse_custom.py" = [
262+ " B010" , # Do not call setattr with a constant attribute value
263+ ]
264+
265+
261266per-file-ignores."examples/*.py" = [
262267 " ANN" , # Ignore all type annotation rules in examples folder
263268 " D" , # Ignore all pydocstyle rules in examples folder
0 commit comments