Skip to content

Commit 5bfe232

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 427055f commit 5bfe232

File tree

1 file changed

+21
-28
lines changed

1 file changed

+21
-28
lines changed

pyproject.toml

Lines changed: 21 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ maintainers = [
1212
{ name = "Artuur Couckuyt", email = "Artuur.Couckuyt@ugent.be" },
1313
{ name = "Benjamin Rombaut", email = "Benjamin.Rombaut@ugent.be" },
1414
{ name = "Robbe Fonteyn", email = "Robbe.Fonteyn@ugent.be" },
15-
{ name = "Yvan Saeys", email = "Yvan.Saeys@UGent.be" },
1615
{ name = "Sofie Van Gassen", email = "Sofie.VanGassen@UGent.be" },
16+
{ name = "Yvan Saeys", email = "Yvan.Saeys@UGent.be" },
1717
]
1818
authors = [
1919
{ name = "Artuur Couckuyt", email = "Artuur.Couckuyt@ugent.be" },
2020
{ name = "Benjamin Rombaut", email = "Benjamin.Rombaut@ugent.be" },
21-
{ name = "Yvan Saeys", email = "Yvan.Saeys@UGent.be" },
2221
{ name = "Sofie Van Gassen", email = "Sofie.VanGassen@UGent.be" },
22+
{ name = "Yvan Saeys", email = "Yvan.Saeys@UGent.be" },
2323
]
2424
requires-python = ">=3.10"
2525
classifiers = [
@@ -28,6 +28,7 @@ classifiers = [
2828
"Programming Language :: Python :: 3.11",
2929
"Programming Language :: Python :: 3.12",
3030
"Programming Language :: Python :: 3.13",
31+
"Programming Language :: Python :: 3.14",
3132
]
3233
dependencies = [
3334
"anndata",
@@ -46,7 +47,6 @@ dependencies = [
4647
# for debug logging (referenced from the issue template)
4748
"session-info2",
4849
]
49-
5050
optional-dependencies.dev = [ "pre-commit", "twine>=4.0.2" ]
5151
optional-dependencies.doc = [
5252
"docutils>=0.8,!=0.18.*,!=0.19.*",
@@ -72,27 +72,20 @@ urls.Documentation = "https://flowsom.readthedocs.io/en/latest/"
7272
urls.Home-page = "https://github.com/saeyslab/FlowSOM_Python"
7373
urls.Source = "https://github.com/saeyslab/FlowSOM_Python"
7474

75-
[tool.hatch.build.targets.wheel]
76-
packages = [ 'src/flowsom' ]
77-
78-
[tool.hatch.envs.default]
79-
installer = "uv"
80-
features = [ "dev" ]
81-
82-
[tool.hatch.envs.docs]
83-
features = [ "doc" ]
84-
scripts.build = "sphinx-build -M html docs docs/_build {args}"
85-
scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
86-
scripts.clean = "git clean -fdX -- {args:docs}"
87-
88-
[tool.hatch.envs.hatch-test]
89-
features = [ "test" ]
75+
[tool.hatch]
76+
build.targets.wheel.packages = [ "src/flowsom" ]
77+
envs.default.installer = "uv"
78+
envs.default.features = [ "dev" ]
79+
envs.docs.features = [ "doc" ]
80+
envs.docs.scripts.build = "sphinx-build -M html docs docs/_build {args}"
81+
envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
82+
envs.docs.scripts.clean = "git clean -fdX -- {args:docs}"
83+
envs.hatch-test.features = [ "test" ]
9084

9185
[tool.ruff]
9286
line-length = 120
9387
src = [ "src" ]
9488
extend-include = [ "*.ipynb" ]
95-
9689
format.docstring-code-format = true
9790
lint.select = [
9891
"B", # flake8-bugbear
@@ -127,20 +120,20 @@ lint.per-file-ignores."docs/*" = [ "I" ]
127120
lint.per-file-ignores."tests/*" = [ "D" ]
128121
lint.pydocstyle.convention = "numpy"
129122

130-
[tool.pytest.ini_options]
131-
testpaths = [ "tests" ]
132-
xfail_strict = true
133-
addopts = [
123+
[tool.pytest]
124+
ini_options.testpaths = [ "tests" ]
125+
ini_options.xfail_strict = true
126+
ini_options.addopts = [
134127
"--import-mode=importlib", # allow using test files with same name
135128
]
136129

137-
[tool.coverage.run]
138-
source = [ "flowsom" ]
139-
omit = [ "**/test_*.py" ]
130+
[tool.coverage]
131+
run.omit = [ "**/test_*.py" ]
132+
run.source = [ "flowsom" ]
140133

141134
[tool.fawltydeps]
142-
code = [ "src" ] # Only search for imports under ./src
143-
deps = [ "pyproject.toml" ] # Only look for declared dependencies here
135+
code = [ "src" ] # Only search for imports under ./src
136+
deps = [ "pyproject.toml" ] # Only look for declared dependencies here
144137
ignore_undeclared = [ "flowsom" ]
145138

146139
[tool.cruft]

0 commit comments

Comments
 (0)