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
with:
python-version: "3.10"
python-version: 3.11
- name: Install pre-commit
run: pip3 install pre-commit

View File

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