Skip to content

Commit d670f0f

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

1 file changed

Lines changed: 9 additions & 12 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,14 @@ optional-dependencies.tests = [
5353
]
5454
urls.Homepage = "https://github.com/matthiask/django-content-editor/"
5555

56-
[tool.hatch.build]
57-
include = [
56+
[tool.hatch]
57+
build.include = [
5858
"content_editor/",
5959
]
60-
61-
[tool.hatch.version]
62-
path = "content_editor/__init__.py"
60+
version.path = "content_editor/__init__.py"
6361

6462
[tool.ruff]
6563
target-version = "py310"
66-
6764
fix = true
6865
show-fixes = true
6966
lint.extend-select = [
@@ -118,9 +115,9 @@ lint.isort.combine-as-imports = true
118115
lint.isort.lines-after-imports = 2
119116
lint.mccabe.max-complexity = 15
120117

121-
[tool.pytest.ini_options]
122-
DJANGO_SETTINGS_MODULE = "testapp.settings"
123-
python_files = [ "tests.py", "test_*.py" ]
124-
addopts = "--strict-markers"
125-
asyncio_mode = "strict"
126-
asyncio_default_fixture_loop_scope = "function"
118+
[tool.pytest]
119+
ini_options.DJANGO_SETTINGS_MODULE = "testapp.settings"
120+
ini_options.python_files = [ "tests.py", "test_*.py" ]
121+
ini_options.addopts = "--strict-markers"
122+
ini_options.asyncio_mode = "strict"
123+
ini_options.asyncio_default_fixture_loop_scope = "function"

0 commit comments

Comments
 (0)