-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (78 loc) · 1.79 KB
/
pyproject.toml
File metadata and controls
89 lines (78 loc) · 1.79 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "gninatorch"
description = "PyTorch implementation of GNINA scoring function"
readme = "README.md"
license = { text = "MIT" }
authors = [{ name = "Rocco Meli", email = "rocco.meli@biodtp.ox.ac.uk" }]
requires-python = ">=3.12"
dependencies = [
"torch",
"molgrid",
"numpy",
]
dynamic = ["version"]
[project.optional-dependencies]
all = [
"pytorch-ignite",
"scipy",
"pandas",
"scikit-learn",
"tqdm",
"mlflow",
]
test = [
"pytest>=6.0",
"pytest-xdist>=2.5",
"pytest-cov>=3.0",
]
doc = [
"sphinx",
"sphinx_rtd_theme",
]
[tool.setuptools_scm]
write_to = "gninatorch/_version.py"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["tests*"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests/"]
[tool.coverage.run]
omit = [
"*/tests/*",
"gninatorch/_version.py",
"gninatorch/weights/",
]
[tool.coverage.report]
omit = [
"*/tests/*",
"gninatorch/_version.py",
"gninatorch/weights/",
]
exclude_lines = [
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
skip = ["examples/", "gninatorch/weights/"]
[tool.mypy]
files = "gninatorch"
ignore_missing_imports = true
exclude = ["examples/", "gninatorch/weights/"]
# Note: flake8 does not natively read pyproject.toml.
# Install the `flake8-pyproject` plugin to enable this section.
[tool.flake8]
ignore = ["E203", "E266", "E501", "W503", "C901"]
max-line-length = 88
max-complexity = 18
select = ["B", "C", "E", "F", "W", "T4"]
exclude = ["versioneer.py", "examples", "gninatorch/weights/"]