-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
65 lines (56 loc) · 1.6 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
[project]
name = "dose-response"
version = "0.0.2"
authors = [
{name = "Tim Hörmann"},
{email = "[email protected]"}
]
description = "Create Dose-Response-Curves from csv files"
readme = "README.md"
dependencies = [
"matplotlib",
"numpy",
"pandas",
"scipy"
]
[project.urls]
homepage = "https://www.audivir.de/"
repository = "https://github.com/tim25651/DRC"
[tool.setuptools.packages.find]
where = ["src"]
include= ["drc*"]
[project.scripts]
drc = "drc.cli:main"
drc-test = "drc.test:main"
[tool.isort]
profile = "black"
split_on_trailing_comma = false
[tool.black]
target-version = ["py311"]
line-length = 88
# include src and tests regex .pyi?$ to include type hints
include = '(src|examples|tests)\/.*\.py'
# unstable
unstable = true
skip-magic-trailing-comma = true
[tool.mypy]
# ignore_missing_imports = true
python_version = "3.11"
enable_error_code = '''type-arg,no-untyped-def,redundant-cast,redundant-self,comparison-overlap,
no-untyped-call,no-any-return,no-any-unimported,unreachable,redundant-expr,
possibly-undefined,truthy-bool,truthy-iterable,ignore-without-code,
unused-awaitable,unused-ignore,explicit-override,unimported-reveal'''
disable_error_code = 'import-untyped'
disallow_untyped_calls = true
disallow_untyped_defs = true
warn_unused_ignores = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
exclude = ["OLD", "OTHER", "build", "docs", "test"]
[tool.vulture]
ignore_names = ["_*", "unused_*"]
paths = ["src", ".whitelist"]
make_whitelist = true
sort_by_size = true
verbose = false