From 90ed7b7dc93a551ec1d8378bea2613184fcffdd0 Mon Sep 17 00:00:00 2001 From: Bulat Kurbanov Date: Wed, 21 Dec 2022 17:19:00 +0100 Subject: [PATCH] Update pre-commit --- .github/workflows/linters.yaml | 2 +- .pre-commit-config.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index 3e6bf89..006d212 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: 3.11 - name: Install pre-commit run: pip3 install pre-commit diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58649c0..87a1f3b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,19 +2,19 @@ exclude: 'docs|node_modules|migrations|.git|.tox' repos: - repo: https://github.com/ambv/black - rev: 22.3.0 + rev: 22.12.0 hooks: - id: black - language_version: python3.9 + 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.1a3 + 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', ]