mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-28 13:52:12 +08:00
Update Ruff and enable F821 in stubs (#11771)
This commit is contained in:
2
.flake8
2
.flake8
@@ -1,7 +1,7 @@
|
||||
[flake8]
|
||||
# NQA: Ruff won't warn about redundant `# noqa: Y`
|
||||
# Y: Flake8 is only used to run flake8-pyi, everything else is in Ruff
|
||||
# F821: Until https://github.com/astral-sh/ruff/issues/3011 is fixed, we need flake8-pyi's monkeypatching
|
||||
# F821: Typeshed is a testing ground for flake8-pyi, which monkeypatches F821
|
||||
select = NQA, Y, F821
|
||||
# Ignore rules normally excluded by default
|
||||
extend-ignore = Y090
|
||||
|
||||
Reference in New Issue
Block a user