Skip to content

Commit 6f548ae

Browse files
[pre-commit.ci] pre-commit autoupdate (#1667)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/adamchainz/django-upgrade: 1.8.0 → 1.9.0](adamchainz/django-upgrade@1.8.0...1.9.0) - [github.com/pre-commit/mirrors-eslint: v8.22.0 → v8.23.0](pre-commit/mirrors-eslint@v8.22.0...v8.23.0) - [github.com/psf/black: 22.6.0 → 22.8.0](psf/black@22.6.0...22.8.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>
1 parent 6a34e00 commit 6f548ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
- id: pyupgrade
2121
args: [--py37-plus]
2222
- repo: https://github.com/adamchainz/django-upgrade
23-
rev: 1.8.0
23+
rev: 1.9.0
2424
hooks:
2525
- id: django-upgrade
2626
args: [--target-version, "3.2"]
@@ -43,15 +43,15 @@ repos:
4343
- id: prettier
4444
types_or: [javascript, css]
4545
- repo: https://github.com/pre-commit/mirrors-eslint
46-
rev: v8.22.0
46+
rev: v8.23.0
4747
hooks:
4848
- id: eslint
4949
files: \.js?$
5050
types: [file]
5151
args:
5252
- --fix
5353
- repo: https://github.com/psf/black
54-
rev: 22.6.0
54+
rev: 22.8.0
5555
hooks:
5656
- id: black
5757
language_version: python3

tests/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
re_path(
1010
r"^resolving1/(.+)/(.+)/$", views.resolving_view, name="positional-resolving"
1111
),
12-
re_path(r"^resolving2/(?P<arg1>.+)/(?P<arg2>.+)/$", views.resolving_view),
12+
path("resolving2/<path:arg1>/<path:arg2>/", views.resolving_view),
1313
re_path(r"^resolving3/(.+)/$", views.resolving_view, {"arg2": "default"}),
1414
re_path(r"^regular/(?P<title>.*)/$", views.regular_view),
1515
re_path(r"^template_response/(?P<title>.*)/$", views.template_response_view),

0 commit comments

Comments
 (0)