Skip to content

Commit

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

updates:
- [github.com/adamchainz/django-upgrade: 1.12.0 → 1.13.0](adamchainz/django-upgrade@1.12.0...1.13.0)
- [github.com/pre-commit/mirrors-eslint: v8.34.0 → v8.35.0](pre-commit/mirrors-eslint@v8.34.0...v8.35.0)
- [github.com/tox-dev/pyproject-fmt: 0.8.0 → 0.9.2](tox-dev/pyproject-fmt@0.8.0...0.9.2)

* [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 Feb 28, 2023
1 parent d94bf40 commit 36a0a75
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
- id: pyupgrade
args: [--py38-plus]
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.12.0
rev: 1.13.0
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
Expand All @@ -46,7 +46,7 @@ repos:
args:
- --trailing-comma=es5
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.34.0
rev: v8.35.0
hooks:
- id: eslint
files: \.js?$
Expand All @@ -60,7 +60,7 @@ repos:
language_version: python3
entry: black --target-version=py38
- repo: https://github.com/tox-dev/pyproject-fmt
rev: 0.8.0
rev: 0.9.2
hooks:
- id: pyproject-fmt
- repo: https://github.com/abravalheri/validate-pyproject
Expand Down
31 changes: 15 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,21 @@ dependencies = [
Download = "https://pypi.org/project/django-debug-toolbar/"
Homepage = "https://github.com/jazzband/django-debug-toolbar"

[tool.hatch.build.targets.sdist]
include = [
"/debug_toolbar",
"/CONTRIBUTING.md",
]

[tool.hatch.build.targets.wheel]
packages = ["debug_toolbar"]

[tool.hatch.version]
path = "debug_toolbar/__init__.py"

[tool.isort]
combine_as_imports = true
profile = "black"

[tool.coverage.html]
skip_covered = true
Expand All @@ -61,19 +76,3 @@ source = ["src", ".tox/*/site-packages"]
# Update coverage badge link in README.rst when fail_under changes
fail_under = 93
show_missing = true

[tool.hatch.build.targets.sdist]
include = [
"/debug_toolbar",
"/CONTRIBUTING.md",
]

[tool.hatch.build.targets.wheel]
packages = ["debug_toolbar"]

[tool.hatch.version]
path = "debug_toolbar/__init__.py"

[tool.isort]
combine_as_imports = true
profile = "black"

0 comments on commit 36a0a75

Please sign in to comment.