-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (52 loc) · 1.07 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "ssp"
version = "0.0.1"
readme = "README.md"
license = "LICENSE.txt"
[tool.pytest.ini_options]
pythonpath = "."
log_cli = true
addopts = [
"--import-mode=importlib",
"--cov=ssp"
]
[tool.ruff]
include = ["ssp/**"]
line-length = 100
indent-width = 4
target-version = "py312"
extend-exclude = [".pyenv*"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint]
select = ["E",
"F",
"B",
"I",
"SIM",
"W",
"D",
"PL",
"NPY",
"PERF",
"C90",
"RUF",
"D417", "D414"]
ignore = ["D213", "D401", "D211"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.mypy]
mypy_path = "ssp"
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_untyped_decorators = true
plugins = "numpy.typing.mypy_plugin"
files = ["ssp/*.py"]