@@ -208,7 +208,7 @@ select = [
208
208
# "RUF", # Ruff-specific rules (miscellaneous grab bag of lint checks specific to Ruff)
209
209
# "S", # flake8-bandit (security oriented checks, but extremely pedantic - do not attempt to apply to unit test files)
210
210
# "SIM", # flake8-simplify (rules to attempt to simplify code)
211
- # "SLF", # flake8-self (warn when protected members are accessed outside of a class or file)
211
+ # "SLF", # flake8-self (warn when protected members are accessed outside of a class or file)
212
212
" SLOT" , # flake8-slots (warn about subclasses that should define __slots__)
213
213
" T10" , # flake8-debugger (check for pdb traces left in Python code)
214
214
# "T20", # flake8-print (warn about use of `print` or `pprint` - force use of loggers)
@@ -285,13 +285,15 @@ per-file-ignores."plugins/*.py" = [
285
285
" D" , # Ignore all pydocstyle rules in test folders
286
286
" INP001" , # Module is part of an implicit namespace
287
287
" S" , # Ignore all Security rules in test folders
288
+ " SLF" , # Ignore all warnings about private or protected member access in test folders
288
289
]
289
290
290
291
per-file-ignores."tests/*.py" = [
291
292
" ANN" , # Ignore all type annotation rules in test folders
292
293
" D" , # Ignore all pydocstyle rules in test folders
293
294
" E501" , # Line too long
294
295
" S" , # Ignore all Security rules in test folders
296
+ " SLF" , # Ignore all warnings about private or protected member access in test folders
295
297
]
296
298
297
299
per-file-ignores."tests/test_argparse.py" = [
@@ -307,6 +309,7 @@ per-file-ignores."tests_isolated/*.py" = [
307
309
" ANN" , # Ignore all type annotation rules in test folders
308
310
" D" , # Ignore all pydocstyle rules in test folders
309
311
" S" , # Ignore all Security rules in test folders
312
+ " SLF" , # Ignore all warnings about private or protected member access in test folders
310
313
]
311
314
312
315
per-file-ignores."tests_isolated/test_commandset/test_commandset.py" = [
0 commit comments