Skip to content

Commit

Permalink
Merge pull request #496 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
minrk authored Nov 6, 2024
2 parents 11fcf89 + 0606244 commit c985e33
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
repos:
# Autoformat: Python code, syntax patterns are modernized
- repo: https://github.com/asottile/pyupgrade
rev: v3.15.0
rev: v3.19.0
hooks:
- id: pyupgrade
args:
- --py38-plus

# Autoformat: Python code
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
rev: v2.3.1
hooks:
- id: autoflake
# args ref: https://github.com/PyCQA/autoflake#advanced-usage
Expand All @@ -28,26 +28,26 @@ repos:

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

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 23.10.1
rev: 24.10.0
hooks:
- id: black
exclude: "contrib\/template\/.*"

# Autoformat: markdown, yaml
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.3
rev: v4.0.0-alpha.8
hooks:
- id: prettier

# Misc...
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
# ref: https://github.com/pre-commit/pre-commit-hooks#hooks-available
hooks:
# Autoformat: Makes sure files end in a newline and only a newline.
Expand All @@ -65,7 +65,7 @@ repos:

# Lint: Python code
- repo: https://github.com/PyCQA/flake8
rev: "6.1.0"
rev: "7.1.1"
hooks:
- id: flake8

Expand Down
1 change: 1 addition & 0 deletions contrib/theia/jupyter_theia_proxy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
See https://jupyter-server-proxy.readthedocs.io/en/latest/server-process.html
for more information.
"""

import os
import shutil

Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Reusable test fixtures for ``jupyter_server_proxy``."""

import os
import shutil
import socket
Expand Down
1 change: 1 addition & 0 deletions tests/resources/httpinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Simple webserver to respond with an echo of the sent request. It can listen to
either a tcp port or a unix socket.
"""

import argparse
import socket
import sys
Expand Down

0 comments on commit c985e33

Please sign in to comment.