Skip to content

Commit 8503af6

Browse files
authored
Merge pull request #472 from jupyterhub/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents aba673d + bf88437 commit 8503af6

File tree

2 files changed

+27
-6
lines changed

2 files changed

+27
-6
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,43 @@
11
repos:
22
# Autoformat: Python
33
- repo: https://github.com/pycqa/isort
4-
rev: 5.10.1
4+
rev: v5.11.3
55
hooks:
66
- id: isort
77

88
# Autoformat: Python
99
- repo: https://github.com/psf/black
10-
rev: 22.10.0
10+
rev: 22.12.0
1111
hooks:
1212
- id: black
13+
1314
# Autoformat: shell scripts
1415
- repo: https://github.com/lovesegfault/beautysh
1516
rev: v6.2.1
1617
hooks:
1718
- id: beautysh
19+
1820
# Autoformat: markdown, yaml
1921
- repo: https://github.com/pre-commit/mirrors-prettier
2022
rev: v3.0.0-alpha.4
2123
hooks:
2224
- id: prettier
23-
# code-correctess
25+
26+
# Lint: Python code
2427
- repo: https://github.com/PyCQA/flake8
25-
rev: "5.0.4"
28+
rev: "6.0.0"
2629
hooks:
2730
- id: flake8
31+
32+
# Misc autoformatting and linting
2833
- repo: https://github.com/pre-commit/pre-commit-hooks
29-
rev: v4.3.0
34+
rev: v4.4.0
3035
hooks:
3136
- id: end-of-file-fixer
37+
- id: requirements-txt-fixer
3238
- id: check-case-conflict
3339
- id: check-executables-have-shebangs
34-
- id: requirements-txt-fixer
40+
41+
# pre-commit.ci config reference: https://pre-commit.ci/#configuration
42+
ci:
43+
autoupdate_schedule: monthly

pyproject.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1+
# isort is used for autoformatting Python code
2+
#
3+
# ref: https://pycqa.github.io/isort/
4+
#
15
[tool.isort]
26
profile = "black"
37

8+
9+
# black is used for autoformatting Python code
10+
#
11+
# ref: https://black.readthedocs.io/en/stable/
12+
#
413
[tool.black]
514
skip-string-normalization = true
615
target_version = [
716
"py36",
817
"py37",
918
"py38",
19+
"py39",
20+
"py310",
21+
"py311",
1022
]

0 commit comments

Comments
 (0)