Skip to content

Commit 4b4fab6

Browse files
[pre-commit.ci] pre-commit autoupdate (#42)
1 parent 2a907b2 commit 4b4fab6

2 files changed

Lines changed: 13 additions & 16 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@ repos:
1414
- id: mixed-line-ending
1515
- id: trailing-whitespace
1616
- repo: https://github.com/adamchainz/django-upgrade
17-
rev: 1.29.1
17+
rev: 1.30.0
1818
hooks:
1919
- id: django-upgrade
2020
args: [--target-version, "3.2"]
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: v0.15.0
22+
rev: v0.15.12
2323
hooks:
2424
- id: ruff
2525
args: [--unsafe-fixes]
2626
- id: ruff-format
2727
- repo: https://github.com/biomejs/pre-commit
28-
rev: v2.3.14
28+
rev: v2.4.14
2929
hooks:
3030
- id: biome-check
3131
args: [--unsafe]
3232
verbose: true
3333
- repo: https://github.com/tox-dev/pyproject-fmt
34-
rev: v2.12.1
34+
rev: v2.21.1
3535
hooks:
3636
- id: pyproject-fmt
3737
- repo: https://github.com/abravalheri/validate-pyproject

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)