Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ci:
files: ^pyproject.toml|openff|(^examples/((?!deprecated).)*$)|^docs|(^utilities/((?!deprecated).)*$)
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
rev: v0.15.20
hooks:
- id: ruff-format
- id: ruff-check
Expand All @@ -14,6 +14,6 @@ repos:
- id: blacken-docs
files: ^docs/.*\.(rst|md)$
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.21.1
rev: v2.25.1
hooks:
- id: pyproject-fmt
30 changes: 15 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,51 +46,51 @@ lint.isort.known-first-party = [ "openff.toolkit" ]
lint.isort.known-third-party = [ "openff.interchange", "openff.utilities", "openff.units" ]

[tool.mypy]
exclude = "openff/toolkit/_tests/|openff/toolkit/data/"
python_version = 3.12
warn_unused_configs = true
# would be nice to flip back to true
warn_unused_ignores = false
warn_incomplete_stub = true
warn_unused_configs = true
show_error_codes = true
exclude = "openff/toolkit/_tests/|openff/toolkit/data/"

[[tool.mypy.overrides]]
module = [
"openff.units",
"openff.units.*",
"constraint",
"mdtraj",
"msgpack",
"nglview",
"nglview.base_adaptor",
"openeye",
"openeye.oechem",
"openff.nagl.*",
"openff.nagl_models.*",
"mdtraj",
"openff.units",
"openff.units.*",
"openmm",
"openmm.app",
"openmm.unit",
"parmed",
"qcelemental",
"rdkit",
"rdkit.Chem",
"rdkit.Chem.Draw",
"rdkit.DataStructs.cDataStructs",
"openeye",
"openeye.oechem",
"parmed",
"msgpack",
"qcelemental",
"nglview",
"nglview.base_adaptor",
"constraint",
]
ignore_missing_imports = true

[tool.pytest]
ini_options.testpaths = [ "openff/toolkit/_tests/" ]
ini_options.addopts = [ "--strict-markers" ]
ini_options.markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"wip: marks tests as work in progress",
]
ini_options.doctest_optionflags = [
"ELLIPSIS",
"DONT_ACCEPT_TRUE_FOR_1",
"ELLIPSIS",
"NORMALIZE_WHITESPACE",
]
ini_options.testpaths = [ "openff/toolkit/_tests/" ]

[tool.coverage]
run.omit = [
Expand Down
Loading