-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
48 lines (42 loc) · 1 KB
/
setup.cfg
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
43
44
45
46
47
48
[coverage:run]
omit = datacube_zarr/_version.py
[flake8]
ignore =
E133 # closing bracket is missing indentation
E203 # whitespace before ':'
D107 # Missing docstring in __init__
D202 # No blank lines allowed after function docstring
D413 # Missing blank line after last section
W503 # line break before binary operator
max-line-length = 90
max-complexity = 10
hang-closing = True
exclude =
.git,
.eggs/,
__pycache__,
datacube_zarr/_version.py
setup.py
[isort]
profile=black
line_length=90
skip =
.eggs/
force_to_top = pytest
known_third_party = datacube,eodatasets3
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
[mypy]
ignore_missing_imports = True
warn_redundant_casts = True
strict_optional = True
disallow_untyped_defs = True
warn_return_any = True
no_implicit_optional = True
warn_unused_ignores = True
warn_unused_configs = True
[mypy-tests.*]
ignore_errors = True
[mypy-integration_tests.*]
ignore_errors = True
[tool:pytest]
addopts = --cov-config=setup.cfg