@@ -80,6 +80,18 @@ format.docstring-code-format = true
80
80
lint.select = [
81
81
" ALL" ,
82
82
]
83
+ lint.ignore = [
84
+ " ANN101" , # Missing type annotation for `self` in method
85
+ " COM812" , # Conflict with formatter
86
+ " CPY" , # No copyright statements
87
+ " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
88
+ " D205" , # 1 blank line required between summary line and description
89
+ " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
90
+ " D301" , # Use `r"""` if any backslashes in a docstring
91
+ " D401" , # First line of docstring should be in imperative mood
92
+ " ISC001" , # Conflict with formatter
93
+ " S104" , # Possible binding to all interface
94
+ ]
83
95
lint.per-file-ignores."tests/**/*.py" = [
84
96
" D" , # don"t care about documentation in tests
85
97
" FBT" , # don"t care about booleans as positional arguments in tests
@@ -93,18 +105,6 @@ lint.isort = { known-first-party = [
93
105
], required-imports = [
94
106
" from __future__ import annotations" ,
95
107
] }
96
- lint.ignore = [
97
- " ANN101" , # Missing type annotation for `self` in method
98
- " COM812" , # Conflict with formatter
99
- " CPY" , # No copyright statements
100
- " D203" , # `one-blank-line-before-class` (D203) and `no-blank-line-before-class` (D211) are incompatible
101
- " D205" , # 1 blank line required between summary line and description
102
- " D212" , # `multi-line-summary-first-line` (D212) and `multi-line-summary-second-line` (D213) are incompatible
103
- " D301" , # Use `r"""` if any backslashes in a docstring
104
- " D401" , # First line of docstring should be in imperative mood
105
- " ISC001" , # Conflict with formatter
106
- " S104" , # Possible binding to all interface
107
- ]
108
108
lint.preview = true
109
109
110
110
[tool .codespell ]
0 commit comments