Skip to content

Commit aaf0220

Browse files
[pre-commit.ci] pre-commit autoupdate (#1183)
1 parent 839007d commit aaf0220

2 files changed

Lines changed: 23 additions & 30 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ repos:
1717
- id: end-of-file-fixer
1818
- id: trailing-whitespace
1919
- repo: https://github.com/crate-ci/typos
20-
rev: 672d45b4e77223b8fcf1b4b8560bf987f0839902 # frozen: v1
20+
rev: 5745f2a8dd91cd7b684680e2e10a2b388ba6e5cf # frozen: v1
2121
hooks:
2222
- id: typos
2323
- repo: https://github.com/tox-dev/pyproject-fmt
24-
rev: 2a892e1706c9e0e1f853be3f34a9e04f0d5c86d9 # frozen: v2.12.1
24+
rev: 51905ea0435df7e0b1dacf8108081e6a14b620bd # frozen: v2.16.2
2525
hooks:
2626
- id: pyproject-fmt
2727
- repo: https://github.com/tox-dev/tox-ini-fmt
@@ -40,7 +40,7 @@ repos:
4040
hooks:
4141
- id: sphinx-lint
4242
- repo: https://github.com/adamchainz/django-upgrade
43-
rev: 553731fe59437e0bd2cf18b10144116422bed259 # frozen: 1.29.1
43+
rev: 4864562a5d05a7ff3bce99bc31f892eeb396fc00 # frozen: 1.30.0
4444
hooks:
4545
- id: django-upgrade
4646
- repo: https://github.com/adamchainz/blacken-docs
@@ -50,7 +50,7 @@ repos:
5050
additional_dependencies:
5151
- black==25.1.0
5252
- repo: https://github.com/astral-sh/ruff-pre-commit
53-
rev: 45ef068da5f21267bb2a7ec4a623092959f09ce5 # frozen: v0.14.14
53+
rev: a27a2e47c7751b639d2b5badf0ef6ff11fee893f # frozen: v0.15.4
5454
hooks:
5555
- id: ruff-check
5656
args: [ --fix ]

pyproject.toml

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ requires = [
77
[project]
88
name = "django-mysql"
99
version = "4.19.0"
10-
description = "Django-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other databases."
10+
description = """\
11+
Django-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other \
12+
databases.\
13+
"""
1114
readme = "README.rst"
1215
keywords = [
1316
"Django",
@@ -68,14 +71,14 @@ docs = [
6871
"sphinx-build-compatibility",
6972
"sphinx-copybutton>=0.5.2",
7073
]
71-
7274
django42 = [ "django>=4.2a1,<5; python_version>='3.8'" ]
7375
django50 = [ "django>=5a1,<5.1; python_version>='3.10'" ]
7476
django51 = [ "django>=5.1a1,<5.2; python_version>='3.10'" ]
7577
django52 = [ "django>=5.2a1,<6; python_version>='3.10'" ]
7678
django60 = [ "django>=6a1,<6.1; python_version>='3.12'" ]
7779

7880
[tool.uv]
81+
sources.sphinx-build-compatibility = { git = "https://github.com/readthedocs/sphinx-build-compatibility", rev = "4f304bd4562cdc96316f4fec82b264ca379d23e0" }
7982
conflicts = [
8083
[
8184
{ group = "django42" },
@@ -86,9 +89,6 @@ conflicts = [
8689
],
8790
]
8891

89-
[tool.uv.sources]
90-
sphinx-build-compatibility = { git = "https://github.com/readthedocs/sphinx-build-compatibility", rev = "4f304bd4562cdc96316f4fec82b264ca379d23e0" }
91-
9292
[tool.ruff]
9393
lint.select = [
9494
# flake8-bugbear
@@ -129,31 +129,27 @@ lint.isort.required-imports = [ "from __future__ import annotations" ]
129129
[tool.pyproject-fmt]
130130
max_supported_python = "3.14"
131131

132-
[tool.pytest.ini_options]
133-
addopts = """\
132+
[tool.pytest]
133+
ini_options.addopts = """\
134134
--strict-config
135135
--strict-markers
136136
--ds=tests.settings
137137
"""
138-
django_find_project = false
139-
xfail_strict = true
140-
141-
[tool.coverage.paths]
142-
source = [
143-
"src",
144-
".tox/**/site-packages",
145-
]
138+
ini_options.django_find_project = false
139+
ini_options.xfail_strict = true
146140

147-
[tool.coverage.report]
148-
show_missing = true
149-
150-
[tool.coverage.run]
151-
branch = true
152-
parallel = true
153-
source = [
141+
[tool.coverage]
142+
run.branch = true
143+
run.parallel = true
144+
run.source = [
154145
"django_mysql",
155146
"tests",
156147
]
148+
paths.source = [
149+
"src",
150+
".tox/**/site-packages",
151+
]
152+
report.show_missing = true
157153

158154
[tool.mypy]
159155
enable_error_code = [
@@ -170,10 +166,7 @@ namespace_packages = false
170166
no_implicit_optional = true
171167
warn_unreachable = true
172168
warn_unused_ignores = true
173-
174-
[[tool.mypy.overrides]]
175-
module = "tests.*"
176-
allow_untyped_defs = true
169+
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
177170

178171
[tool.rstcheck]
179172
ignore_directives = [

0 commit comments

Comments
 (0)