-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Consolidate Python config in
pyproject.toml
- Loading branch information
1 parent
92f6b9d
commit 1f4131c
Showing
9 changed files
with
64 additions
and
132 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,54 @@ authors = [{name = "Open Force Field Initiative", email = "[email protected] | |
license = {text = "MIT"} | ||
dynamic = ["version"] | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["openff/interchange"] | ||
|
||
[tool.versioningit] | ||
|
||
[tool.mypy] | ||
mypy_path = "stubs/" | ||
python_version = "3.11" | ||
plugins = "numpy.typing.mypy_plugin,pydantic.mypy" | ||
warn_unused_configs = true | ||
warn_unused_ignores = true | ||
warn_incomplete_stub = true | ||
show_error_codes = true | ||
|
||
[[tool.mypy.overrides]] | ||
module = [ | ||
"pandas", | ||
"networkx", | ||
"openmm", | ||
"openmm.app", | ||
"openmm.app.element", | ||
"openmm.unit", | ||
"intermol.*", | ||
"rdkit", | ||
"openff.toolkit.*", | ||
"openff.units.*", | ||
"openff.utilities.*", | ||
"openff.recharge.*", | ||
"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" | ||
|
||
[tool.interrogate] | ||
ignore-init-method = true | ||
ignore-init-module = true | ||
|
@@ -60,3 +106,16 @@ known-first-party = ["openff.interchange"] | |
|
||
[tool.ruff.lint.pydocstyle] | ||
property-decorators=["validator"] | ||
|
||
[tool.coverage.run] | ||
omit = [ | ||
"*/*/_tests/*", | ||
] | ||
|
||
[tool.coverage.report] | ||
exclude_lines = [ | ||
"pragma: no cover", | ||
"if TYPE_CHECKING:", | ||
"raise NotImplementedError", | ||
"@overload", | ||
] |
This file was deleted.
Oops, something went wrong.