Skip to content

Commit f4cfb21

Browse files
Project configuration updates (#353)
* Project configuration updates * Update
1 parent fea83fc commit f4cfb21

File tree

2 files changed

+42
-29
lines changed

2 files changed

+42
-29
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414
- id: black-jupyter
1515
files: ^examples
1616
- repo: https://github.com/PyCQA/isort
17-
rev: 6.1.0
17+
rev: 7.0.0
1818
hooks:
1919
- id: isort
2020
files: ^openff
@@ -32,3 +32,7 @@ repos:
3232
- id: nbqa-flake8
3333
args:
3434
- '--select=F'
35+
- repo: https://github.com/tox-dev/pyproject-fmt
36+
rev: v2.11.0
37+
hooks:
38+
- id: pyproject-fmt

pyproject.toml

Lines changed: 37 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,33 @@
11
[build-system]
2+
build-backend = "setuptools.build_meta"
23
requires = [
3-
"setuptools",
4-
"versioningit",
4+
"setuptools>=77.0.3",
5+
"versioningit",
56
]
6-
build-backend = "setuptools.build_meta"
77

88
[project]
9-
name="openff-qcsubmit"
9+
name = "openff-qcsubmit"
1010
description = "qcsubmit"
1111
readme = "README.md"
12-
authors = [{name = "Open Force Field Consortium", email = "[email protected]"}]
13-
license = {text = "MIT"}
14-
dynamic = ["version"]
12+
license = "MIT"
13+
license-files = [ "LICENSE" ]
14+
authors = [ { name = "Open Force Field Consortium", email = "[email protected]" } ]
15+
requires-python = ">=3.11"
16+
classifiers = [
17+
"Programming Language :: Python :: 3 :: Only",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
21+
"Programming Language :: Python :: 3.14",
22+
]
23+
dynamic = [ "version" ]
1524

1625
[tool.setuptools.packages]
1726
find = {}
1827

19-
[tool.versioningit]
20-
21-
[tool.pytest.ini_options]
22-
filterwarnings = [
23-
"ignore::DeprecationWarning",
24-
"ignore::PendingDeprecationWarning",
25-
]
26-
27-
[tool.coverage.run]
28-
omit = [
29-
"*/*/_tests/*",
30-
]
31-
32-
[tool.coverage.report]
33-
exclude_lines = [
34-
"pragma: no cover",
35-
"if TYPE_CHECKING:",
36-
"raise NotImplementedError",
37-
]
38-
3928
[tool.black]
4029
line-length = 88
41-
target-version = ['py310']
30+
target-version = [ 'py311' ]
4231
exclude = '''
4332
4433
(
@@ -65,3 +54,23 @@ include_trailing_comma = true
6554
force_grid_wrap = 0
6655
use_parentheses = true
6756
line_length = 88
57+
58+
[tool.pytest.ini_options]
59+
filterwarnings = [
60+
"ignore::DeprecationWarning",
61+
"ignore::PendingDeprecationWarning",
62+
]
63+
64+
[tool.coverage.run]
65+
omit = [
66+
"*/*/_tests/*",
67+
]
68+
69+
[tool.coverage.report]
70+
exclude_lines = [
71+
"pragma: no cover",
72+
"if TYPE_CHECKING:",
73+
"raise NotImplementedError",
74+
]
75+
76+
[tool.versioningit]

0 commit comments

Comments
 (0)