@@ -29,6 +29,8 @@ ignore = [
2929 " ANN002" ,
3030 " ANN003" ,
3131 " ANN401" ,
32+ " TRY003" ,
33+ " G004" ,
3234]
3335
3436select = [
@@ -57,6 +59,20 @@ select = [
5759 " TD" , # flake8-todos (check TODO format - Google Style §3.7)
5860 " TCH" ,# flake8-type-checking (helps manage TYPE_CHECKING blocks and imports)
5961 " PYI" ,# flake8-pyi (best practices for .pyi stub files, some rules are useful for .py too)
62+ " S" , # flake8-bandit (security issues)
63+ " DTZ" ,# flake8-datetimez (timezone-aware datetimes)
64+ " ERA" ,# flake8-eradicate (commented-out code)
65+ " Q" , # flake8-quotes (quote style consistency)
66+ " RSE" ,# flake8-raise (modern raise statements)
67+ " TRY" ,# tryceratops (exception handling best practices)
68+ " PERF" ,# perflint (performance anti-patterns)
69+ " BLE" ,
70+ " T10" ,
71+ " ICN" ,
72+ " G" ,
73+ " FIX" ,
74+ " ASYNC" ,
75+ " INP" ,
6076]
6177
6278exclude = [
@@ -104,7 +120,7 @@ ignore-decorators = ["typing.overload", "abc.abstractmethod"]
104120
105121[lint .flake8-annotations ]
106122mypy-init-return = true
107- allow-star-arg-any = true
123+ allow-star-arg-any = false
108124
109125[lint .pep8-naming ]
110126ignore-names = [" test_*" , " setUp" , " tearDown" , " mock_*" ]
0 commit comments