Skip to content

Commit fe0082b

Browse files
ci: pre-commit autoupdate (#56)
* ci: pre-commit autoupdate updates: - [github.com/tox-dev/pyproject-fmt: v2.11.0 → v2.16.2](tox-dev/pyproject-fmt@v2.11.0...v2.16.2) - [github.com/tox-dev/tox-ini-fmt: 1.7.0 → 1.7.1](tox-dev/tox-ini-fmt@1.7.0...1.7.1) - [github.com/asottile/pyupgrade: v3.21.0 → v3.21.2](asottile/pyupgrade@v3.21.0...v3.21.2) - [github.com/adamchainz/django-upgrade: 1.29.1 → 1.30.0](adamchainz/django-upgrade@1.29.1...1.30.0) - [github.com/psf/black-pre-commit-mirror: 25.9.0 → 26.1.0](psf/black-pre-commit-mirror@25.9.0...26.1.0) - [github.com/pycqa/isort: 7.0.0 → 8.0.1](PyCQA/isort@7.0.0...8.0.1) - [github.com/pre-commit/mirrors-mypy: v1.18.2 → v1.19.1](pre-commit/mirrors-mypy@v1.18.2...v1.19.1) * ci: auto fixes from pre-commit hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent f4dd02d commit fe0082b

2 files changed

Lines changed: 18 additions & 25 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ repos:
2323
- id: end-of-file-fixer
2424
- id: trailing-whitespace
2525
- repo: https://github.com/tox-dev/pyproject-fmt
26-
rev: v2.11.0
26+
rev: v2.16.2
2727
hooks:
2828
- id: pyproject-fmt
2929
- repo: https://github.com/tox-dev/tox-ini-fmt
30-
rev: 1.7.0
30+
rev: 1.7.1
3131
hooks:
3232
- id: tox-ini-fmt
3333
- repo: https://github.com/rstcheck/rstcheck
@@ -37,17 +37,17 @@ repos:
3737
additional_dependencies:
3838
- tomli==2.0.1
3939
- repo: https://github.com/asottile/pyupgrade
40-
rev: v3.21.0
40+
rev: v3.21.2
4141
hooks:
4242
- id: pyupgrade
4343
args: [--py38-plus]
4444
- repo: https://github.com/adamchainz/django-upgrade
45-
rev: 1.29.1
45+
rev: 1.30.0
4646
hooks:
4747
- id: django-upgrade
4848
args: [--target-version, '3.2']
4949
- repo: https://github.com/psf/black-pre-commit-mirror
50-
rev: 25.9.0
50+
rev: 26.1.0
5151
hooks:
5252
- id: black
5353
- repo: https://github.com/adamchainz/blacken-docs
@@ -57,12 +57,12 @@ repos:
5757
additional_dependencies:
5858
- black==23.1.0
5959
- repo: https://github.com/pycqa/isort
60-
rev: 7.0.0
60+
rev: 8.0.1
6161
hooks:
6262
- id: isort
6363
name: isort (python)
6464
- repo: https://github.com/pre-commit/mirrors-mypy
65-
rev: v1.18.2
65+
rev: v1.19.1
6666
hooks:
6767
- id: mypy
6868
additional_dependencies:

pyproject.toml

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -55,31 +55,27 @@ profile = "black"
5555
[tool.pyproject-fmt]
5656
max_supported_python = "3.13"
5757

58-
[tool.pytest.ini_options]
59-
addopts = """\
58+
[tool.pytest]
59+
ini_options.addopts = """\
6060
--strict-config
6161
--strict-markers
6262
--ds=tests.settings
6363
"""
64-
django_find_project = false
65-
xfail_strict = true
64+
ini_options.django_find_project = false
65+
ini_options.xfail_strict = true
6666

67-
[tool.coverage.run]
68-
branch = true
69-
parallel = true
70-
source = [
67+
[tool.coverage]
68+
run.branch = true
69+
run.parallel = true
70+
run.source = [
7171
"django_sys_indicator",
7272
"tests",
7373
]
74-
75-
[tool.coverage.paths]
76-
source = [
74+
paths.source = [
7775
"src",
7876
".tox/**/site-packages",
7977
]
80-
81-
[tool.coverage.report]
82-
show_missing = true
78+
report.show_missing = true
8379

8480
[tool.mypy]
8581
enable_error_code = [
@@ -91,10 +87,7 @@ mypy_path = "src/"
9187
namespace_packages = false
9288
strict = true
9389
warn_unreachable = true
94-
95-
[[tool.mypy.overrides]]
96-
module = "tests.*"
97-
allow_untyped_defs = true
90+
overrides = [ { module = "tests.*", allow_untyped_defs = true } ]
9891

9992
[tool.rstcheck]
10093
report_level = "ERROR"

0 commit comments

Comments
 (0)