-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (77 loc) · 2.22 KB
/
pyproject.toml
File metadata and controls
90 lines (77 loc) · 2.22 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
90
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=77.0.3",
"setuptools-scm>=8",
]
[project]
name = "openfe"
description = ""
readme = "README.md"
license = "MIT"
license-files = [ "LICENSE" ]
authors = [ { name = "The OpenFE developers", email = "openfreeenergy@omsf.io" } ]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
]
dynamic = [ "version" ]
urls = { Homepage = "https://github.com/OpenFreeEnergy/openfe" }
scripts.openfe = "openfecli.cli:main"
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
where = [ "src" ]
namespaces = false
[tool.setuptools.package-data]
openfe = [ '"./src/openfe/tests/data/lomap_basic/toluene.mol2"' ]
[tool.setuptools_scm]
fallback_version = "0.0.0"
[tool.ruff]
line-length = 100
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
lint.select = [
"E", # pycodestyle errors
"F", # Pyflakes
"I", # isort
"W", # pycodestyle warnings
# "C901" # mccabe complexity TODO: add this back in
# "UP", # TODO: add this in
]
lint.ignore = [
"E402", # module-level import not at top (conflicts w/ isort)
"E501", # line length too long, resolve this for comments
"F401", # unused imports (TODO: we should fix these)
"F811",
"F841",
"UP03", # pyupgrade linting (TODO: we should fix these)
]
lint.isort.known-first-party = [ "openfe" ]
[tool.coverage.run]
omit = [
"src/openfe/due.py",
"src/*/tests/dev/*py",
"src/*/tests/protocols/test_openmm_rfe_slow.py",
]
[tool.coverage.report]
exclude_lines = [
'if __name__ == "__main__"',
"pragma: no cover",
"pragma: no-cover",
"-no-cov",
"raise NotImplementedError",
]
[tool.mypy]
files = "src/openfe" # TODO: add src/openfecli
ignore_missing_imports = true
warn_unused_ignores = true