-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
87 lines (74 loc) · 1.85 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
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "maize"
description = "Graph-based workflow manager for computational chemistry"
dynamic = ["version"]
readme = "README.md"
license = {file = "LICENSE"}
authors = [{name = "AstraZeneca"}]
maintainers = [{name = "Thomas Löhr", email = "[email protected]"}]
requires-python = ">=3.10"
dependencies = [
"networkx>=3.1",
"dill>=0.3.6",
"numpy>=1.24.3",
"pyyaml>=0.2.5",
"toml>=0.10.2",
"matplotlib>=3.7.1",
"beartype>=0.13.1",
"psij-python @ git+https://github.com/ExaWorks/psij-python.git@9e1a777",
"mypy>=1.2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.3.1",
"pytest-datadir>=1.4.1",
"pytest-mock>=3.10.0",
"pylint>=2.17.3",
"sphinx>=6.2.0",
"pandoc>=3.1.1",
"nbsphinx>=0.9.1",
"furo>=2023.3.27",
]
[project.scripts]
maize = "maize.maize:main"
[tool.setuptools.packages.find]
include = ["maize*"]
[tool.setuptools.package-data]
"*" = ["py.typed", "../maize.toml"]
[tool.setuptools.dynamic]
version = {attr = "maize.maize.__version__"}
[tool.pytest.ini_options]
log_cli = true
log_cli_level = "DEBUG"
addopts = "-vv"
markers = ["random: run randomised workflows"]
[tool.coverage.report]
exclude_also = [
"def __repr__",
"if TYPE_CHECKING:",
"if HAS_GRAPHVIZ:",
"def _repr_mimebundle_",
"@(abc\\.)?abstractmethod",
"assert_never"
]
[tool.mypy]
# Note that exclude will not be honored by VS Code
# https://github.com/microsoft/vscode-python/issues/16511
exclude = 'tests/'
follow_imports = "silent"
ignore_missing_imports = true
strict = true
disable_error_code = "unused-ignore"
[tool.black]
line-length = 100
[tool.ruff]
select = ["E", "F", "W", "UP", "SIM", "PTH", "PL", "NPY"]
ignore = ["PLR", "PLW", "F401"]
line-length = 100
[tool.pylint.main]
source-roots = "./maize/*"
[tool.coverage.run]
relative_files = true