From 7190541a3850d354bb02dbca9e970af7964ddc0e Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Wed, 28 Feb 2024 21:37:17 +0900 Subject: [PATCH] pre-commit: enable flake8 plugins in yesqa Prevent yesqa from removing noqa markers needed for plugins. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca5ef99e..4485985b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -38,6 +38,7 @@ repos: rev: v1.5.0 hooks: - id: yesqa + additional_dependencies: [flake8-bugbear, Flake8-pyproject] - repo: https://github.com/PyCQA/flake8 rev: 6.1.0