Skip to content

Commit 6b29bf5

Browse files
committed
fix pre-commit
1 parent 028bc53 commit 6b29bf5

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,16 @@ repos:
1010
- id: check-added-large-files
1111

1212
- repo: https://github.com/pycqa/isort
13-
rev: 5.9.3
13+
rev: 5.13.2
1414
hooks:
1515
- id: isort
1616

1717
- repo: https://github.com/psf/black
18-
rev: 21.7b0
18+
rev: 25.1.0
1919
hooks:
2020
- id: black
2121

22-
- repo: https://gitlab.com/pycqa/flake8
23-
rev: 3.9.2
22+
- repo: https://github.com/pycqa/flake8
23+
rev: '7.2.0' # pick a git hash / tag to point to
2424
hooks:
25-
- id: flake8
26-
additional_dependencies: [
27-
"flake8-bugbear",
28-
"flake8-comprehensions",
29-
"flake8-mutable",
30-
"flake8-print",
31-
"flake8-simplify",
32-
]
25+
- id: flake8

ratings/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from django.shortcuts import get_object_or_404
66
from django.utils.http import url_has_allowed_host_and_scheme
77

8-
98
# allow GET requests to create ratings -- this goes against the "GET" requests
109
# should be idempotent but avoids the necessity of using <form> elements or
1110
# javascript to create rating links

0 commit comments

Comments
 (0)