mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-19 18:31:14 +08:00
Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
This commit is contained in:
4
.flake8
4
.flake8
@@ -8,6 +8,10 @@ extend-ignore = Y090
|
||||
per-file-ignores =
|
||||
# We should only need to noqa Y and F821 codes in .pyi files
|
||||
*.py: NQA
|
||||
# Ignore Y052 in this file: there are loads of false positives
|
||||
# due to the fact that flake8-pyi doesn't understand subclasses of `CoerciveEnum`
|
||||
# as being enum classes
|
||||
stubs/fpdf2/fpdf/enums.pyi: Y052
|
||||
# Generated protobuf files:
|
||||
# Y021: Include docstrings
|
||||
# Y023: Alias typing as typing_extensions
|
||||
|
||||
Reference in New Issue
Block a user