Skip to content

Commit bb7c09b

Browse files
authored
[pre-commit.ci] pre-commit autoupdate (#482)
<!--pre-commit.ci start--> updates: - [github.com/asottile/pyupgrade: v3.8.0 → v3.10.1](asottile/pyupgrade@v3.8.0...v3.10.1) - [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0) - [github.com/pycqa/flake8: 6.0.0 → 6.1.0](PyCQA/flake8@6.0.0...6.1.0) - [github.com/python-jsonschema/check-jsonschema: 0.23.2 → 0.23.3](python-jsonschema/check-jsonschema@0.23.2...0.23.3) <!--pre-commit.ci end-->
2 parents 0d5a5ed + 7976a8e commit bb7c09b

File tree

4 files changed

+101
-4652
lines changed

4 files changed

+101
-4652
lines changed

.github/workflows/main.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ jobs:
2121
- uses: actions/checkout@v3
2222
- uses: actions/setup-python@v4
2323
with:
24-
python-version: "3.8"
25-
- name: Install pre-commit
26-
run: pip install pre-commit
27-
- name: Run linting suite
28-
run: pre-commit run --all-files
24+
python-version: "3.11"
25+
- uses: pre-commit/[email protected]
2926

3027
conda:
3128
name: Conda (Python${{ matrix.python-version }}; ${{ matrix.os }})

.pre-commit-config.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ default_language_version:
33

44
repos:
55
- repo: https://github.com/asottile/pyupgrade
6-
rev: v3.8.0
6+
rev: v3.10.1
77
hooks:
88
- id: pyupgrade
99
args: [ '--py38-plus' ]
@@ -19,7 +19,8 @@ repos:
1919
args: [ '--allow-multiple-documents' ]
2020
- id: debug-statements
2121
- id: pretty-format-json
22-
args: [ '--autofix', '--no-ensure-ascii', '--no-sort-keys' ]
22+
args: [ '--autofix', '--no-ensure-ascii', '--no-sort-keys', '--indent=2' ]
23+
exclude: .ipynb
2324
- repo: https://github.com/pappasam/toml-sort
2425
rev: v0.23.1
2526
hooks:
@@ -30,11 +31,11 @@ repos:
3031
- id: python-check-blanket-noqa
3132
- id: rst-inline-touching-normal
3233
- repo: https://github.com/psf/black
33-
rev: 23.3.0
34+
rev: 23.7.0
3435
hooks:
3536
- id: black
3637
- repo: https://github.com/pycqa/flake8
37-
rev: 6.0.0
38+
rev: 6.1.0
3839
hooks:
3940
- id: flake8
4041
args: [ '--config=setup.cfg' ]
@@ -67,7 +68,7 @@ repos:
6768
- id: yamllint
6869
args: [ '--config-file=.yamllint.yaml' ]
6970
- repo: https://github.com/python-jsonschema/check-jsonschema
70-
rev: 0.23.2
71+
rev: 0.23.3
7172
hooks:
7273
- id: check-github-workflows
7374
- id: check-readthedocs

0 commit comments

Comments
 (0)