From 2c63a8acf7842d2a4e83fd177ed5a11e01bfbf68 Mon Sep 17 00:00:00 2001 From: Mike Hendricks Date: Tue, 3 Sep 2024 19:38:33 -0700 Subject: [PATCH] Fix pinning of black and flake8 for tox and pre-commit --- .pre-commit-config.yaml | 10 +++++----- tox.ini | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7eddf32..3426e90 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,12 +7,12 @@ repos: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==22.12.6 - - pep8-naming==0.13.3 + - flake8-bugbear==21.3.2 + - pep8-naming==0.11.1 - repo: https://github.com/asottile/setup-cfg-fmt rev: v2.2.0 @@ -21,7 +21,7 @@ repos: args: [--min-py3-version=3.6] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-json - id: check-toml @@ -33,7 +33,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: isort (python) diff --git a/tox.ini b/tox.ini index d225aa1..ca80ee8 100644 --- a/tox.ini +++ b/tox.ini @@ -45,15 +45,15 @@ commands = [testenv:black] basepython = python3 deps = - black + black==22.12.0 commands = black . --check [testenv:flake8] basepython = python3 deps = - flake8 - flake8-bugbear - pep8-naming + flake8==5.0.4 + flake8-bugbear==22.12.6 + pep8-naming==0.13.3 commands = flake8 .