summaryrefslogtreecommitdiff
path: root/mypy.ini
blob: 0a81bf58391ca5371b06bbe5647f90943f556ec2 (plain)
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
32
33
34
35
36
[mypy]
show_column_numbers=True
pretty=True

disallow_any_unimported=True
# _bcrypt usage will result in any exprs
disallow_any_expr=False
disallow_any_decorated=True
disallow_any_explicit=True
disallow_any_generics=True
disallow_subclassing_any=True

disallow_untyped_calls=True
disallow_untyped_defs=True
disallow_incomplete_defs=True
check_untyped_defs=True
disallow_untyped_decorators=True

no_implicit_optional=True
strict_optional=True

warn_redundant_casts=True
warn_unused_ignores=True
warn_no_return=True
# _bcrypt is untyped so all calls involving it will be Any
warn_return_any=False
# keep backwards compatibility for users not using static type checking
warn_unreachable=False

strict_equality=True

ignore_missing_imports=False

[mypy-bcrypt._bcrypt]
ignore_missing_imports = True
disallow_any_explicit = False