@@ -185,10 +185,10 @@ select = [
185
185
" G" , # flake8-logging-format (warn about logging statements using outdated string formatting methods)
186
186
" I" , # isort (sort all import statements in the order established by isort)
187
187
" ICN" , # flake8-import-conventions (force idiomatic import conventions for certain modules typically imported as something else)
188
- # "INP", # flake8-no-pep420 (warn about files in the implicit namespace - i.e. force creation of __init__.py files to make packages)
189
- " INT" , # flake8-gettext (warnings that only apply when you are internationalizing your strings)
190
- " ISC" , # flake8-implicit-str-concat (warnings related to implicit vs explicit string concatenation)
191
- " LOG" , # flake8-logging (warn about potential logger issues, but very pedantic)
188
+ " INP" , # flake8-no-pep420 (warn about files in the implicit namespace - i.e. force creation of __init__.py files to make packages)
189
+ " INT" , # flake8-gettext (warnings that only apply when you are internationalizing your strings)
190
+ " ISC" , # flake8-implicit-str-concat (warnings related to implicit vs explicit string concatenation)
191
+ " LOG" , # flake8-logging (warn about potential logger issues, but very pedantic)
192
192
# "N", # pep8-naming (force idiomatic naming for classes, functions/methods, and variables/arguments)
193
193
" NPY" , # NumPy specific rules
194
194
" PD" , # pandas-vet (Pandas specific rules)
@@ -254,6 +254,10 @@ per-file-ignores."cmd2/__init__.py" = [
254
254
" F401" , # Unused import
255
255
]
256
256
257
+ per-file-ignores."examples/*.py" = [
258
+ " INP001" , # Module is part of an implicit namespace
259
+ ]
260
+
257
261
per-file-ignores."examples/override_parser.py" = [
258
262
" E402" , # Module level import not at top of file
259
263
]
@@ -266,10 +270,23 @@ per-file-ignores."examples/unicode_commands.py" = [
266
270
" PLC2401" , # non-ASCII characters in function names
267
271
]
268
272
273
+ per-file-ignores."plugins/ext_test/*.py" = [
274
+ " INP001" , # Module is part of an implicit namespace
275
+ ]
276
+
277
+ per-file-ignores."plugins/template/*.py" = [
278
+ " INP001" , # Module is part of an implicit namespace
279
+ ]
280
+
269
281
per-file-ignores."tests/pyscript/*.py" = [
270
282
" F821" , # Undefined name `app`
271
283
]
272
284
285
+ per-file-ignores."tests/pyscript/raises_exception.py" = [
286
+ " INP001" , # Module is part of an implicit namespace
287
+ ]
288
+
289
+
273
290
[tool .ruff .format ]
274
291
# Like Black, use double quotes for strings.
275
292
quote-style = " preserve"
0 commit comments