File: mypy.ini

package info (click to toggle)
flask-security 5.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,420 kB
  • sloc: python: 23,164; javascript: 204; makefile: 138
file content (31 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (2)
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
26
27
28
29
30
31
[mypy]

pretty = True
show_error_codes = True

# this sucks - but most of our packages don't yet have types.
disable_error_code = import-untyped

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

[mypy-quart.*]
ignore_missing_imports = True
[mypy-flask_mail.*]
ignore_missing_imports = True
[mypy-twilio.*]
ignore_missing_imports = True