mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-06 04:44:29 +08:00
Keeps things working when you upgrade mypy versions. The other way of solving this problem is in #208
27 lines
512 B
INI
27 lines
512 B
INI
[bdist_wheel]
|
|
universal=1
|
|
|
|
[flake8]
|
|
max-line-length = 100
|
|
ignore =
|
|
# do not use bare 'except'
|
|
E722,
|
|
# don't know why this was ever even an option, 1+1 should be possible.
|
|
E226,
|
|
# line break before binary operator
|
|
W503,
|
|
|
|
|
|
[mypy]
|
|
disallow_subclassing_any = True
|
|
|
|
# Avoid creating future gotchas emerging from bad typing
|
|
warn_redundant_casts = True
|
|
warn_unused_ignores = True
|
|
warn_return_any = True
|
|
warn_unused_configs = True
|
|
warn_unreachable = True
|
|
|
|
strict_equality = True
|
|
no_implicit_optional = False
|