Skip to content

Commit 2faf0d3

Browse files
authored
Merge pull request #963 from jupyterhub/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 6dd2ee8 + b35851f commit 2faf0d3

23 files changed

+24
-2
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737

3838
# Autoformat: Python code
3939
- repo: https://github.com/psf/black
40-
rev: 23.12.1
40+
rev: 24.1.1
4141
hooks:
4242
- id: black
4343

@@ -64,7 +64,7 @@ repos:
6464

6565
# Lint: Python code
6666
- repo: https://github.com/pycqa/flake8
67-
rev: "6.1.0"
67+
rev: "7.0.0"
6868
hooks:
6969
- id: flake8
7070

bootstrap/bootstrap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
can also pass a branch name such as 'main' or a
4343
commit hash.
4444
"""
45+
4546
import logging
4647
import multiprocessing
4748
import os

integration-tests/plugins/simplest/tljh_simplest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Simplest plugin that exercises all the hooks defined in tljh/hooks.py.
33
"""
4+
45
from tljh.hooks import hookimpl
56

67

integration-tests/test_bootstrap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
first two could be more like unit tests. Ideally, this file is
1010
significantly reduced.
1111
"""
12+
1213
import concurrent.futures
1314
import os
1415
import subprocess

integration-tests/test_proxy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""tests for the proxy"""
2+
23
import os
34
import shutil
45
import ssl

integration-tests/test_simplest_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Test the plugin in integration-tests/plugins/simplest that makes use of all tljh
33
recognized plugin hooks that are defined in tljh/hooks.py.
44
"""
5+
56
import os
67
import subprocess
78

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""pytest fixtures"""
2+
23
import os
34
import types
45
from importlib import reload

tests/test_conda.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Test conda commandline wrappers
33
"""
4+
45
import os
56
import subprocess
67
import tempfile

tests/test_installer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Unit test functions in installer.py
33
"""
4+
45
import json
56
import os
67
from subprocess import PIPE, run

tests/test_migrator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""
22
Unit test functions in installer.py
33
"""
4+
45
import os
56
from datetime import date
67

0 commit comments

Comments
 (0)