forked from cloud-py-api/nc_py_api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
77 lines (67 loc) · 1.4 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools>=67.8",
"wheel",
]
[tool.black]
line-length = 120
target-versions = ["py39"]
preview = true
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.per-file-ignores]
"nc_py_api/__init__.py" = ["F401"]
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = [
"tests",
]
filterwarnings = [
"ignore::DeprecationWarning",
]
log_cli = true
addopts = "-rs --color=yes"
[tool.coverage.run]
cover_pylib = true
include = ["*/nc_py_api/*"]
omit = ["*/tests/*"]
[tool.coverage.paths]
source = [
"nc_py_api/",
"*/site-packages/nc_py_api/"
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"DeprecationWarning",
"DEPRECATED"
]
[tool.mypy]
ignore_missing_imports = false
warn_no_return = true
strict_optional = true
check_untyped_defs = true
[tool.pylint]
master.py-version = "3.9"
master.extension-pkg-allow-list = ["pydantic"]
design.max-attributes = 8
design.max-locals = 16
design.max-branches = 16
design.max-returns = 8
design.max-args = 6
basic.good-names = [
"a", "b", "c", "d", "e", "f", "i", "j", "k", "r", "v",
"ex", "_", "fp", "im", "nc",
]
reports.output-format = "colorized"
similarities.ignore-imports = "yes"
messages_control.disable = [
"missing-class-docstring",
"missing-function-docstring",
"line-too-long",
"too-few-public-methods",
]