Update pre-commit

This commit is contained in:
2022-12-21 17:10:20 +01:00
parent 12540eb726
commit 2a38fdeee6

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.3.0 rev: 22.12.0
hooks: hooks:
- id: black - id: black
language_version: python3.9 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.1a3 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',
] ]