forked from pallets-eco/flask-security
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
25 lines (20 loc) · 634 Bytes
/
mypy.ini
File metadata and controls
25 lines (20 loc) · 634 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[mypy]
plugins = sqlalchemy.ext.mypy.plugin
pretty = True
show_error_codes = True
# this sucks - but most of our packages don't yet have types.
ignore_missing_imports = True
no_implicit_optional = True
disallow_incomplete_defs = True
strict_equality = True
warn_redundant_casts = True
# Can't figure out why it sometimes says its ignored - but PyCharm wants it
warn_unused_ignores = False
warn_no_return = True
warn_unreachable = True
# This false-positives with non-annotated methods (like imported packages)
warn_return_any = False
warn_unused_configs = True
[mypy-flask_security.cli]
# Due to click 8.1.4
ignore_errors = True