-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
42 lines (34 loc) · 841 Bytes
/
setup.cfg
File metadata and controls
42 lines (34 loc) · 841 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[metadata]
long_description = file: README.md
long_description_content_type = text/markdown
[options]
test_suite = tests
[aliases]
test=pytest
[flake8]
statistics = true
exclude = .git
ignore = E203, E501, E722, W503, B950, E402
select = B,C,E,F,W,T4,B9
per-file-ignores =
__init__.py: F401, F403
[mypy]
exclude = tests
# Import discovery
namespace_packages = False
ignore_missing_imports = True
# Untyped definitions and calls
disallow_untyped_calls = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_decorators = True
# Configuring warnings
warn_redundant_casts = True
warn_unused_ignores = True
warn_no_return = True
warn_return_any = True
warn_unreachable = True
# Miscellaneous strictness flags
strict_equality = True
[mypy-tests.*]
ignore_errors = True