Skip to content

Commit

Permalink
Merge pull request #876 from jupyterhub/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
consideRatio authored Feb 4, 2025
2 parents 5ac45e9 + 898220c commit 9e994a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,21 @@
repos:
# Autoformat: Python code, syntax patterns are modernized
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.0
rev: v3.19.1
hooks:
- id: pyupgrade
args:
- --py37-plus

# Autoformat: Python code
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.0
hooks:
- id: isort

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black

Expand Down Expand Up @@ -63,7 +63,7 @@ repos:

# Lint our jinja2 templates
- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.35.4
rev: v1.36.4
hooks:
- id: djlint-jinja
files: "kubespawner/templates/.*\\.html"
Expand Down
2 changes: 1 addition & 1 deletion kubespawner/slugs.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def multi_slug(names, max_length=48):
for name in names[1:]:
# \xFF can't occur as a start byte in UTF8
# so use it as a word delimiter to make sure overlapping words don't collide
hasher.update(b"\xFF")
hasher.update(b"\xff")
hasher.update(name.encode("utf8"))
hash = hasher.hexdigest()[:_hash_length]

Expand Down

0 comments on commit 9e994a7

Please sign in to comment.