Skip to content

Commit e8e7ee5

Browse files
committed
fix format and add classifier
1 parent e6a4e20 commit e8e7ee5

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

pyproject.toml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ classifiers = [
2323
"Programming Language :: Python :: 3.9",
2424
"Programming Language :: Python :: 3.10",
2525
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
2627
]
2728
dynamic = [
2829
"dependencies",
@@ -57,7 +58,7 @@ write_to = "oceans/_version.py"
5758
write_to_template = "__version__ = '{version}'"
5859

5960
[tool.ruff]
60-
select = [
61+
lint.select = [
6162
"A", # flake8-builtins
6263
"B", # flake8-bugbear
6364
"C4", # flake8-comprehensions
@@ -68,14 +69,25 @@ select = [
6869
]
6970
target-version = "py311"
7071
line-length = 79
71-
ignore = [
72+
lint.ignore = [
7273
"B905", # zip ztrict arg, enable only for py310
7374
]
7475

75-
[tool.ruff.per-file-ignores]
76+
[tool.ruff.lint.per-file-ignores]
7677
"docs/source/conf.py" = ["E402", "A001"]
7778
"oceans/plotting.py" = ["T201"] # `print` found
7879

80+
[tool.check-manifest]
81+
ignore = [
82+
".coveragerc",
83+
"docs",
84+
"docs/*",
85+
"notebooks",
86+
"notebooks/*",
87+
"tests",
88+
"tests/*",
89+
]
90+
7991
[tool.pytest.ini_options]
8092
markers = [
8193
"web: marks tests require connection (deselect with '-m \"not web\"')"
@@ -93,14 +105,3 @@ exclude = ["docs", "tests"]
93105
verbose = 1
94106
quiet = false
95107
color = true
96-
97-
[tool.check-manifest]
98-
ignore = [
99-
".coveragerc",
100-
"docs",
101-
"docs/*",
102-
"notebooks",
103-
"notebooks/*",
104-
"tests",
105-
"tests/*",
106-
]

0 commit comments

Comments
 (0)