1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-01-03 05:36:19 +00:00

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

View file

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