Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#1796)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/adamchainz/django-upgrade: 1.13.0 → 1.14.0](adamchainz/django-upgrade@1.13.0...1.14.0)
- [github.com/pre-commit/mirrors-eslint: v8.42.0 → v8.43.0](pre-commit/mirrors-eslint@v8.42.0...v8.43.0)
- [github.com/charliermarsh/ruff-pre-commit: v0.0.270 → v0.0.272](astral-sh/ruff-pre-commit@v0.0.270...v0.0.272)
- [github.com/tox-dev/pyproject-fmt: 0.11.2 → 0.12.0](tox-dev/pyproject-fmt@0.11.2...0.12.0)

* [pre-commit.ci] auto fixes from pre-commit.com 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>
  • Loading branch information
pre-commit-ci[bot] committed Jun 23, 2023
1 parent e15c538 commit 797a861
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
hooks:
- id: doc8
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.13.0
rev: 1.14.0
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
Expand All @@ -31,15 +31,15 @@ repos:
args:
- --trailing-comma=es5
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.42.0
rev: v8.43.0
hooks:
- id: eslint
files: \.js?$
types: [file]
args:
- --fix
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: 'v0.0.270'
rev: 'v0.0.272'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -50,7 +50,7 @@ repos:
language_version: python3
entry: black --target-version=py38
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 0.11.2
rev: 0.12.0
hooks:
- id: pyproject-fmt
- repo: https://github.com/abravalheri/validate-pyproject
Expand Down
34 changes: 17 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,6 @@ packages = ["debug_toolbar"]
[tool.hatch.version]
path = "debug_toolbar/__init__.py"

[tool.coverage.html]
skip_covered = true
skip_empty = true

[tool.coverage.run]
branch = true
parallel = true
source = ["debug_toolbar"]

[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]

[tool.coverage.report]
# Update coverage badge link in README.rst when fail_under changes
fail_under = 94
show_missing = true

[tool.ruff]
extend-select = [
# pyflakes, pycodestyle
Expand Down Expand Up @@ -128,3 +111,20 @@ max-complexity = 15
# Ignore the fact that migration files are invalid module names
"N999",
]

[tool.coverage.html]
skip_covered = true
skip_empty = true

[tool.coverage.run]
branch = true
parallel = true
source = ["debug_toolbar"]

[tool.coverage.paths]
source = ["src", ".tox/*/site-packages"]

[tool.coverage.report]
# Update coverage badge link in README.rst when fail_under changes
fail_under = 94
show_missing = true

0 comments on commit 797a861

Please sign in to comment.