Modify pre-commit config file using autoupdate (#1601)

A new version of Poetry broke isort which caused errors when running
pre-commit.

This PR runs `pre-commit autoupdate` which updates the configuration
to use the newest isort, which has a hotfix for the bug. It also
updates pre-commit, black, and flake8 as a side-effect.

* Change black version back to 22.12
This commit is contained in:
ratchek 2023-02-18 13:10:24 -05:00 committed by GitHub
parent f1e1ea4538
commit 0cf9f0b36f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ minimum_pre_commit_version: "1.15"
repos:
# general stuff
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
# check file system problems
- id: check-case-conflict
@ -30,14 +30,14 @@ repos:
# format python files
- repo: https://github.com/psf/black
rev: 22.6.0
rev: 22.12.0
hooks:
- id: black
files: ^(src/vorta/|tests)
# sort python imports
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
rev: 5.12.0
hooks:
- id: isort
@ -58,7 +58,7 @@ repos:
# check pep8 conformity using flake8
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 6.0.0
hooks:
- id: flake8