Skip to content

Commit bf88437

Browse files
committed
pre-commit.ci: update monthly
1 parent 61438dd commit bf88437

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

.pre-commit-config.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,34 @@ repos:
1010
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
2528
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
2934
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)