Skip to content

Commit 36a0a75

Browse files
[pre-commit.ci] pre-commit autoupdate (#1741)
* [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>
1 parent d94bf40 commit 36a0a75

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: pyupgrade
2222
args: [--py38-plus]
2323
- repo: https://github.com/adamchainz/django-upgrade
24-
rev: 1.12.0
24+
rev: 1.13.0
2525
hooks:
2626
- id: django-upgrade
2727
args: [--target-version, "3.2"]
@@ -46,7 +46,7 @@ repos:
4646
args:
4747
- --trailing-comma=es5
4848
- repo: https://github.com/pre-commit/mirrors-eslint
49-
rev: v8.34.0
49+
rev: v8.35.0
5050
hooks:
5151
- id: eslint
5252
files: \.js?$
@@ -60,7 +60,7 @@ repos:
6060
language_version: python3
6161
entry: black --target-version=py38
6262
- repo: https://github.com/tox-dev/pyproject-fmt
63-
rev: 0.8.0
63+
rev: 0.9.2
6464
hooks:
6565
- id: pyproject-fmt
6666
- repo: https://github.com/abravalheri/validate-pyproject

pyproject.toml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,21 @@ dependencies = [
4444
Download = "https://pypi.org/project/django-debug-toolbar/"
4545
Homepage = "https://github.com/jazzband/django-debug-toolbar"
4646

47+
[tool.hatch.build.targets.sdist]
48+
include = [
49+
"/debug_toolbar",
50+
"/CONTRIBUTING.md",
51+
]
52+
53+
[tool.hatch.build.targets.wheel]
54+
packages = ["debug_toolbar"]
55+
56+
[tool.hatch.version]
57+
path = "debug_toolbar/__init__.py"
58+
59+
[tool.isort]
60+
combine_as_imports = true
61+
profile = "black"
4762

4863
[tool.coverage.html]
4964
skip_covered = true
@@ -61,19 +76,3 @@ source = ["src", ".tox/*/site-packages"]
6176
# Update coverage badge link in README.rst when fail_under changes
6277
fail_under = 93
6378
show_missing = true
64-
65-
[tool.hatch.build.targets.sdist]
66-
include = [
67-
"/debug_toolbar",
68-
"/CONTRIBUTING.md",
69-
]
70-
71-
[tool.hatch.build.targets.wheel]
72-
packages = ["debug_toolbar"]
73-
74-
[tool.hatch.version]
75-
path = "debug_toolbar/__init__.py"
76-
77-
[tool.isort]
78-
combine_as_imports = true
79-
profile = "black"

0 commit comments

Comments
 (0)