From f36956ed7768e37a1948f307c00de12365be7c5a Mon Sep 17 00:00:00 2001 From: James Braza Date: Tue, 20 Feb 2024 13:38:51 -0500 Subject: [PATCH] Added `flake8-requirements` self-checking to CI (#87) --- .github/workflows/check.yaml | 2 +- setup.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 24dc9f8..7f49c57 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -64,5 +64,5 @@ jobs: python-version: '3.x' - name: Run flake8 Linter run: | - pip install flake8 + pip install -e . flake8 flake8 --count --show-source --statistics src test diff --git a/setup.cfg b/setup.cfg index 2b5b9ac..2d76c1e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,5 +4,8 @@ python-tag = py3 [doc8] max-line-length = 99 +[flake8] +extend-exclude = venv + [isort] force_single_line = true