Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (75 loc) · 1.65 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (75 loc) · 1.65 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[tool.black]
line-length = 120
preview = true
[tool.isort]
profile = "black"
known_first_party = "sentinelhub"
known_absolute = "eolearn"
sections = ["FUTURE","STDLIB","THIRDPARTY","FIRSTPARTY","ABSOLUTE","LOCALFOLDER"]
line_length = 120
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
disable = [
"no-member",
"arguments-differ",
"assignment-from-no-return",
"unsubscriptable-object",
"invalid-unary-operand-type",
"unspecified-encoding",
"unnecessary-ellipsis"
]
[tool.pylint.design]
max-args = 15
max-branches = 15
max-attributes = 20
max-locals = 20
min-public-methods = 0
[tool.pylint.similarities]
min-similarity-lines = 5
[tool.pylint.classes]
valid-metaclass-classmethod-first-arg = "mcs"
[tool.pylint.exceptions]
overgeneral-exceptions = "Exception"
[tool.pylint.refactoring]
max-nested-blocks = 7
[tool.pytest.ini_options]
markers = [
"sh_integration: marks integration tests with Sentinel Hub service"
]
[tool.coverage.run]
source = [
"core",
"coregistration",
"features",
"geometry",
"io",
"mask",
"ml_tools",
"visualization"
]
[tool.coverage.report]
omit = [
"*/setup.py",
"*/tests/*",
"*/__init__.py"
]
[tool.nbqa.addopts]
flake8 = [
"--extend-ignore=E402"
]
[tool.nbqa.exclude]
flake8 = "examples/core/CoreOverview.ipynb"
[tool.mypy]
follow_imports = "normal"
ignore_missing_imports = true
show_column_numbers = true
show_error_codes = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
# disallow_untyped_defs = true
# disallow_untyped_decorators = true
warn_unreachable = true
strict_equality = true
pretty = true