mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-03 00:22:44 +08:00
Bump various test dependencies (#9549)
This commit is contained in:
5
.flake8
5
.flake8
@@ -26,10 +26,13 @@
|
||||
# Outdated rules in flake8-pyi that should possibly be deprecated altogether:
|
||||
# Y011 All default values for typed function arguments must be `...`
|
||||
# Y015 Attribute must not have a default value other than `...`
|
||||
#
|
||||
# A bugbear rule that has many false positives:
|
||||
# B028 consider using the `!r` conversion flag instead of manually surrounding things in quotes
|
||||
|
||||
[flake8]
|
||||
per-file-ignores =
|
||||
*.py: E203, E301, E302, E305, E501
|
||||
*.py: B028, E203, E301, E302, E305, E501
|
||||
*.pyi: B, E301, E302, E305, E501, E701, E741, F401, F403, F405, F822, Y011, Y015, Y037
|
||||
# Since typing.pyi defines "overload" this is not recognized by flake8 as typing.overload.
|
||||
# Unfortunately, flake8 does not allow to "noqa" just a specific error inside the file itself.
|
||||
|
||||
Reference in New Issue
Block a user