@@ -83,6 +83,8 @@ exclude = [
8383[tool .ruff .lint ]
8484select = [" ALL" ]
8585ignore = [
86+ " ANN" , # Annotations
87+ " ARG002" , # unused-method-argument
8688 " BLE001" , # Do not catch blind exception: `Exception`
8789 " E501" , # Line too long
8890 " UP012" ,
@@ -98,15 +100,25 @@ ignore = [
98100 " FBT001" ,
99101 " FBT002" ,
100102 " FBT003" ,
101- " PLR0911" ,
102- " D107" ,
103+ " D100" , # undocumented-public-module
104+ " D101" , # undocumented-public-class
105+ " D102" , # undocumented-public-method
106+ " D104" , # undocumented-public-package
107+ " D401" , # non-imperative-mood
108+ " D404" , # docstring-starts-with-this
109+ " D107" , # undocumented-public-init
103110 " D213" , # multi-line-summary-second-line
104111 " D203" , # one-blank-line-before-class
105112 " ERA001" , # Found commented-out code
106113 " FIX" , # Disable all flake8-fixme warnings
107114 " TD" , # Disable all flake8-todos warnings
108115 " SIM108" , # Use ternary operator
109116 " PT009" , # pytest-unittest-assertion
117+ " PT027" , # pytest-unittest-raises-assertion
118+ " PLR0911" , # too-many-return-statements
119+ " PLR0913" , # too-many-arguments
120+ " PIE790" , # unnecessary-placeholder
121+ " PERF203" , # try-except-in-loop
110122]
111123
112124[tool .ruff .format ]
@@ -124,3 +136,12 @@ line-ending = "lf"
124136"**_test.py" = [
125137 " N802" , # Function name should be lowercase
126138]
139+ "certleak/util/request.py" = [
140+ " ARG003" , # Unused class method argument
141+ ]
142+ "examples/example.py" = [
143+ " INP001" , # implicit-namespace-package
144+ ]
145+ "certleak/analyzers/tldanalyzer.py" = [
146+ " PERF401" , # manual-list-comprehension
147+ ]
0 commit comments