-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (107 loc) · 2.73 KB
/
pyproject.toml
File metadata and controls
116 lines (107 loc) · 2.73 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
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
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools",
"setuptools-scm>=8",
]
[project]
name = "openff-interchange"
description = "A project (and object) for storing, manipulating, and converting molecular mechanics data."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = [ "version" ]
[[project.authors]]
name = "Open Force Field Initiative"
email = "info@openforcefield.org"
[tool.setuptools.packages.find]
include = [ "openff.interchange*" ]
exclude = [ "openff.interchange._tests.data*" ]
[tool.setuptools_scm]
fallback_version = "0.0.0"
[tool.ruff]
line-length = 119
namespace-packages = [ "openff/interchange/" ]
[tool.ruff.lint]
select = [ "E", "F", "I", "NPY", "RUF", "UP", "W" ]
per-file-ignores."plugins/*" = [ "INP001" ]
isort.known-first-party = [ "openff.interchange" ]
# can't find a clean way to get Rust's globset to handle this via regex ...
isort.known-third-party = [ "openff.toolkit", "openff.utilities", "openff.units" ]
pydocstyle.property-decorators = [ "validator" ]
[tool.pyproject-fmt]
max_supported_python = "3.13"
table_format = "long"
[tool.mypy]
mypy_path = "stubs/"
python_version = "3.11"
plugins = "pydantic.mypy"
warn_unused_configs = true
warn_unused_ignores = true
warn_incomplete_stub = true
show_error_codes = true
exclude = "openff/interchange/_tests"
[[tool.mypy.overrides]]
module = [
"pyedr",
"networkx",
"openmm",
"openmm.app",
"openmm.app.element",
"openmm.unit",
"intermol.*",
"rdkit",
"openff.toolkit.*",
"openff.units.*",
"openff.utilities.*",
"openff.recharge.*",
"openff.nagl_models.*",
"openff.packmol.*",
"parmed",
"parmed.amber",
"pmdtest.utils",
"pytest",
"pint",
"unyt",
"openeye",
"jax",
"scipy.spatial",
"nonbonded_plugins.*",
"lammps",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
addopts = "--cov=openff/interchange --cov-report=xml --ignore=examples/experimental --ignore=examples/amber"
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
"@overload",
]
[tool.coverage.run]
omit = [
"*/*/_tests/*",
]
[tool.interrogate]
ignore-init-method = true
ignore-init-module = true
ignore-magic = true
ignore-semiprivate = false
ignore-private = true
ignore-property-decorators = false
ignore-module = false
ignore-nested-functions = false
ignore-nested-classes = true
ignore-setters = true
ignore-regex = [ "^Test.*", "test_.*", "^_.*" ]
fail-under = 90