@@ -199,39 +199,41 @@ warn_untyped_fields = true
199
199
target-version = " py37"
200
200
line-length = 88
201
201
select = [
202
- # https://github.com/charliermarsh/ruff #pyflakes-f
202
+ # https://beta.ruff.rs/docs/rules/ #pyflakes-f
203
203
" F" , # Pyflakes
204
- # https://github.com/charliermarsh/ruff #pycodestyle-e-w
204
+ # https://beta.ruff.rs/docs/rules/ #pycodestyle-e-w
205
205
" E" , # pycodestyle
206
206
" W" , # Warning
207
- # https://github.com/charliermarsh/ruff #flake8-comprehensions-c4
208
- # https://github.com/charliermarsh/ruff #mccabe-c90
207
+ # https://beta.ruff.rs/docs/rules/ #flake8-comprehensions-c4
208
+ # https://beta.ruff.rs/docs/rules/ #mccabe-c90
209
209
" C" , # Complexity (mccabe+) & comprehensions
210
- # https://github.com/charliermarsh/ruff #pyupgrade-up
210
+ # https://beta.ruff.rs/docs/rules/ #pyupgrade-up
211
211
" UP" , # pyupgrade
212
- # https://github.com/charliermarsh/ruff #isort-i
212
+ # https://beta.ruff.rs/docs/rules/ #isort-i
213
213
" I" , # isort
214
- # https://github.com/charliermarsh/ruff #flake8-type-checking-tch
214
+ # https://beta.ruff.rs/docs/rules/ #flake8-type-checking-tch
215
215
" TCH" , # flake8-type-checking-tch
216
+ # https://beta.ruff.rs/docs/rules/#flake8-pyi-pyi
217
+ " PYI" , # flake8-pyi - type stub files
216
218
]
217
219
ignore = [
218
- # https://github.com/charliermarsh/ruff #pyflakes-f
220
+ # https://beta.ruff.rs/docs/rules/ #pyflakes-f
219
221
" F842" , # variable annotated but unused # TODO enable
220
- # https://github.com/charliermarsh/ruff #pycodestyle-e-w
222
+ # https://beta.ruff.rs/docs/rules/ #pycodestyle-e-w
221
223
" E501" , # line-length # TODO: too many violations
222
224
" E402" , # module level import not at top of file
223
- # https://github.com/charliermarsh/ruff #flake8-comprehensions-c4
225
+ # https://beta.ruff.rs/docs/rules/ #flake8-comprehensions-c4
224
226
" C400" , # TODO enable
225
227
" C408" , # TODO enable
226
228
" C409" , # TODO enable
227
229
" C413" , # TODO enable
228
230
" C414" , # TODO enable
229
231
" C416" , # TODO enable
230
232
" C417" , # TODO enable
231
- # https://github.com/charliermarsh/ruff #pyupgrade-up
233
+ # https://beta.ruff.rs/docs/rules/ #pyupgrade-up
232
234
" UP006" , # use-pep585-annotation
233
235
" UP007" , # use-pep604-annotation
234
- # https://github.com/charliermarsh/ruff #flake8-type-checking-tch
236
+ # https://beta.ruff.rs/docs/rules/ #flake8-type-checking-tch
235
237
# doesn't catch errors or help with circular imports and tedious to apply
236
238
" TCH002" , # typing-only-third-party-import
237
239
# minimal cost for standard lib imports; keep this disabled
0 commit comments