Skip to content

Commit 9e994a7

Browse files
authored
Merge pull request #876 from jupyterhub/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 5ac45e9 + 898220c commit 9e994a7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@
1111
repos:
1212
# Autoformat: Python code, syntax patterns are modernized
1313
- repo: https://github.com/asottile/pyupgrade
14-
rev: v3.19.0
14+
rev: v3.19.1
1515
hooks:
1616
- id: pyupgrade
1717
args:
1818
- --py37-plus
1919

2020
# Autoformat: Python code
2121
- repo: https://github.com/pycqa/isort
22-
rev: 5.13.2
22+
rev: 6.0.0
2323
hooks:
2424
- id: isort
2525

2626
# Autoformat: Python code
2727
- repo: https://github.com/psf/black
28-
rev: 24.10.0
28+
rev: 25.1.0
2929
hooks:
3030
- id: black
3131

@@ -63,7 +63,7 @@ repos:
6363

6464
# Lint our jinja2 templates
6565
- repo: https://github.com/Riverside-Healthcare/djLint
66-
rev: v1.35.4
66+
rev: v1.36.4
6767
hooks:
6868
- id: djlint-jinja
6969
files: "kubespawner/templates/.*\\.html"

kubespawner/slugs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def multi_slug(names, max_length=48):
192192
for name in names[1:]:
193193
# \xFF can't occur as a start byte in UTF8
194194
# so use it as a word delimiter to make sure overlapping words don't collide
195-
hasher.update(b"\xFF")
195+
hasher.update(b"\xff")
196196
hasher.update(name.encode("utf8"))
197197
hash = hasher.hexdigest()[:_hash_length]
198198

0 commit comments

Comments
 (0)