From 0cf9f0b36f37c32cd541d35d2cd6576f970517f5 Mon Sep 17 00:00:00 2001 From: ratchek Date: Sat, 18 Feb 2023 13:10:24 -0500 Subject: [PATCH] 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 --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d6b613fa..4acb82f2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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