-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
138 lines (126 loc) · 2.44 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "stko"
maintainers = [
{ name = "Andrew Tarzia", email = "andrew.tarzia@gmail.com" },
{ name = "Lukas Turcani", email = "lukasturcani93@gmail.com" },
]
dependencies = [
"numpy==1.26.4", # remove pin when ecosystem updates to 2.0
"rdkit==2023.9.5", # remove pin when type issues are resolved
"stk",
"networkx",
"rmsd",
]
requires-python = ">=3.11"
dynamic = ["version"]
readme = "README.rst"
[project.optional-dependencies]
dev = [
"ruff",
"mypy",
"moldoc",
# TODO: Remove pin when https://github.com/TvoroG/pytest-lazy-fixture/issues/65 is resolved.
# pytest-lazy-fixture 0.6.0 is incompatible with pytest 8.0.0
"pytest<8",
"pytest-benchmark",
"pytest-datadir",
"pytest-lazy-fixture",
"pytest-cov",
"sphinx",
"sphinx-copybutton",
"sphinx-rtd-theme",
"twine",
"build",
]
[project.urls]
github = "https://github.com/JelfsMaterialsGroup/stko"
documentation = "https://stko-docs.readthedocs.io"
[tool.setuptools_scm]
write_to = "src/stko/_version.py"
[tool.setuptools.packages.find]
where = [
# list of folders that contain the packages (["."] by default)
"src",
]
[tool.ruff]
line-length = 79
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN101",
"ANN102",
"ANN401",
"COM812",
"ISC001",
"FBT001",
"FBT002",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"examples/*" = [
"D100",
"INP001",
]
"tests/*" = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"S101",
"INP001",
]
"docs/source/conf.py" = ["D100", "INP001"]
[tool.pytest.ini_options]
testpaths = [
"tests",
]
python_files = [
"test_*.py",
"*_test.py",
]
python_functions = [
"test_*",
]
[tool.mypy]
show_error_codes = true
implicit_optional = false
warn_no_return = true
strict_optional = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
warn_unreachable = true
disallow_any_generics = false
[[tool.mypy.overrides]]
module = [
"rdkit.*",
"scipy.*",
"pytest_lazyfixture.*",
"pathos.*",
"matplotlib.*",
"pandas.*",
"seaborn.*",
"mchammer.*",
"spindry.*",
"pymongo.*",
"vabene.*",
"setuptools.*",
"stk.*",
"networkx.*",
"openbabel.*",
"MDAnalysis.*",
"openff.*",
"openmm.*",
"openmmforcefields.*",
"rmsd.*",
]
ignore_missing_imports = true