From 50441ed32a4da8fbae589f900b97b0b88acceba7 Mon Sep 17 00:00:00 2001 From: Dragon Dave McKee Date: Fri, 3 May 2024 11:17:28 +0100 Subject: [PATCH] Add flake8 to the precommit We only check the waffle directory to keep it equivalent to the existing linter --- .pre-commit-config.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e6a92c4..bb7e9a47 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1 +1,6 @@ -repos: [] +files: ^waffle/ +repos: +- repo: https://github.com/pycqa/flake8 + rev: '7.0.0' + hooks: + - id: flake8