Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.11.0
rev: v2.12.1
hooks:
- id: pyproject-fmt
- repo: https://github.com/tox-dev/tox-ini-fmt
rev: 1.7.0
rev: 1.7.1
hooks:
- id: tox-ini-fmt
- repo: https://github.com/rstcheck/rstcheck
Expand All @@ -37,7 +37,7 @@ repos:
additional_dependencies:
- tomli==2.0.1
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand All @@ -47,7 +47,7 @@ repos:
- id: django-upgrade
args: [--target-version, '3.2']
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.9.0
rev: 26.1.0
hooks:
- id: black
- repo: https://github.com/adamchainz/blacken-docs
Expand All @@ -62,7 +62,7 @@ repos:
- id: isort
name: isort (python)
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.18.2
rev: v1.19.1
hooks:
- id: mypy
additional_dependencies:
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@ addopts = """\
django_find_project = false
xfail_strict = true

[tool.coverage.run]
branch = true
parallel = true
source = [
"django_sys_indicator",
"tests",
]

[tool.coverage.paths]
source = [
"src",
Expand All @@ -81,6 +73,14 @@ source = [
[tool.coverage.report]
show_missing = true

[tool.coverage.run]
branch = true
parallel = true
source = [
"django_sys_indicator",
"tests",
]

[tool.mypy]
enable_error_code = [
"ignore-without-code",
Expand Down
Loading