Skip to content
26 changes: 17 additions & 9 deletions scripts/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ readme = "../README.md"
license = "GPL-3.0"
authors = [
{ name = "Philipp A.", email = "flying-sheep@web.de" },
{ name = "Gregor Sturm", email = "gregor.sturm@scverse.org" },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

long overdue haha

]
requires-python = ">=3.12"
classifiers = [
Expand All @@ -34,6 +35,9 @@ urls.Source = "https://github.com/scverse/cookiecutter-scverse"
scripts.make-rich-output = "scverse_template_scripts.make_rich_output:main"
scripts.send-cruft-prs = "scverse_template_scripts.cruft_prs:cli"

[dependency-groups]
dev = [ "pytest" ]

[tool.hatch]
version.source = "vcs"
version.fallback-version = "0.0"
Expand Down Expand Up @@ -73,28 +77,32 @@ lint.select = [
"YTT",
]
lint.ignore = [
"ISC001", # conflicts with formatter
"S101", # assert should be allowed
"S311", # we don’t need cryptographically secure RNG
"S603", # subprocess with shell=False should be allowed
"ISC001", # conflicts with formatter
"PLR0913", # too many arguments in function definition
"S101", # assert should be allowed
"S311", # we don’t need cryptographically secure RNG
"S603", # subprocess with shell=False should be allowed
]
lint.unfixable = [
"RUF001", # never “fix” “confusables”
]
lint.allowed-confusables = [ "×", "’" ]
lint.flake8-type-checking.exempt-modules = []
lint.flake8-type-checking.runtime-evaluated-decorators = [ "cyclopts.App.default" ]
lint.flake8-type-checking.runtime-evaluated-decorators = [
"cyclopts.App.default",
]
lint.flake8-type-checking.strict = true
lint.isort.known-first-party = [ "scverse_template_scripts", "testing.scverse_template_scripts" ]
lint.isort.known-first-party = [
"scverse_template_scripts",
"testing.scverse_template_scripts",
]
lint.isort.required-imports = [ "from __future__ import annotations" ]

[tool.pyproject-fmt]
column_width = 120

[tool.pytest]
addopts = [
"--import-mode=importlib",
]
addopts = [ "--import-mode=importlib" ]
filterwarnings = [
"error",
# https://github.com/man-group/pytest-plugins/issues/224
Expand Down
Loading
Loading