@@ -208,7 +208,7 @@ select = [
208208 # "RUF", # Ruff-specific rules (miscellaneous grab bag of lint checks specific to Ruff)
209209 # "S", # flake8-bandit (security oriented checks, but extremely pedantic - do not attempt to apply to unit test files)
210210 # "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)
212212 " SLOT" , # flake8-slots (warn about subclasses that should define __slots__)
213213 " T10" , # flake8-debugger (check for pdb traces left in Python code)
214214 # "T20", # flake8-print (warn about use of `print` or `pprint` - force use of loggers)
@@ -285,13 +285,15 @@ per-file-ignores."plugins/*.py" = [
285285 " D" , # Ignore all pydocstyle rules in test folders
286286 " INP001" , # Module is part of an implicit namespace
287287 " S" , # Ignore all Security rules in test folders
288+ " SLF" , # Ignore all warnings about private or protected member access in test folders
288289]
289290
290291per-file-ignores."tests/*.py" = [
291292 " ANN" , # Ignore all type annotation rules in test folders
292293 " D" , # Ignore all pydocstyle rules in test folders
293294 " E501" , # Line too long
294295 " S" , # Ignore all Security rules in test folders
296+ " SLF" , # Ignore all warnings about private or protected member access in test folders
295297]
296298
297299per-file-ignores."tests/test_argparse.py" = [
@@ -307,6 +309,7 @@ per-file-ignores."tests_isolated/*.py" = [
307309 " ANN" , # Ignore all type annotation rules in test folders
308310 " D" , # Ignore all pydocstyle rules in test folders
309311 " S" , # Ignore all Security rules in test folders
312+ " SLF" , # Ignore all warnings about private or protected member access in test folders
310313]
311314
312315per-file-ignores."tests_isolated/test_commandset/test_commandset.py" = [
0 commit comments