Skip to content

Commit 7bdc006

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f2f8c02 commit 7bdc006

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

pyproject.toml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,17 @@ optional-dependencies.tests = [
5555
]
5656
urls.Homepage = "https://github.com/matthiask/feincms3/"
5757

58-
[tool.hatch.build]
59-
include = [
58+
[tool.hatch]
59+
build.include = [
6060
"feincms3/",
6161
]
62-
63-
[tool.hatch.version]
64-
path = "feincms3/__init__.py"
65-
66-
[tool.hatch.build.targets.sdist]
67-
include = [
62+
build.targets.sdist.include = [
6863
"/feincms3",
6964
]
65+
version.path = "feincms3/__init__.py"
7066

7167
[tool.ruff]
7268
target-version = "py310"
73-
7469
fix = true
7570
show-fixes = true
7671
lint.extend-select = [
@@ -133,7 +128,7 @@ lint.isort.combine-as-imports = true
133128
lint.isort.lines-after-imports = 2
134129
lint.mccabe.max-complexity = 15
135130

136-
[tool.pytest.ini_options]
137-
DJANGO_SETTINGS_MODULE = "testapp.settings"
138-
python_files = [ "tests.py", "test_*.py" ]
139-
addopts = "--reuse-db"
131+
[tool.pytest]
132+
ini_options.DJANGO_SETTINGS_MODULE = "testapp.settings"
133+
ini_options.python_files = [ "tests.py", "test_*.py" ]
134+
ini_options.addopts = "--reuse-db"

0 commit comments

Comments
 (0)