Update pre-commit

This commit is contained in:
2022-12-21 17:14:50 +01:00
parent f2220d9f1a
commit e1192ed58f
2 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ jobs:
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: "3.10" python-version: 3.11
- name: Install pre-commit - name: Install pre-commit
run: pip3 install pre-commit run: pip3 install pre-commit

View File

@@ -2,19 +2,19 @@ exclude: 'docs|node_modules|migrations|.git|.tox'
repos: repos:
- repo: https://github.com/ambv/black - repo: https://github.com/ambv/black
rev: 22.6.0 rev: 22.12.0
hooks: hooks:
- id: black - id: black
language_version: python3.10 language_version: python3.11
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 5.10.1 rev: v5.11.3
hooks: hooks:
- id: isort - id: isort
- repo: https://github.com/csachs/pyproject-flake8 - repo: https://github.com/csachs/pyproject-flake8
rev: v0.0.1a4 rev: v6.0.0.post1
hooks: hooks:
- id: pyproject-flake8 - id: pyproject-flake8
additional_dependencies: [ additional_dependencies: [
'-e', 'git+https://github.com/pycqa/pyflakes@1911c20#egg=pyflakes', '-e', 'git+https://github.com/pycqa/pyflakes@b37f91a#egg=pyflakes',
'-e', 'git+https://github.com/pycqa/pycodestyle@d219c68#egg=pycodestyle', '-e', 'git+https://github.com/pycqa/pycodestyle@1063db8#egg=pycodestyle',
] ]