From a9a32e153304b16d4656a3ef6a40fda48aa41388 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 25 Apr 2024 16:07:33 -0600 Subject: [PATCH] ci: Run flake8 in addition to black black is a formatter while flake8 is a linter. Both are good to use. --- .github/workflows/run-tests.yml | 4 ++++ dependencies.apt.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0c45ff20..02b5bc6f 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -37,6 +37,10 @@ jobs: run: | python3 -m black --check --diff . + - name: Run flake8 + run: | + python3 -m flake8 + check-typing: name: Static type check runs-on: ubuntu-latest diff --git a/dependencies.apt.txt b/dependencies.apt.txt index e4efb191..66d4f914 100644 --- a/dependencies.apt.txt +++ b/dependencies.apt.txt @@ -10,6 +10,7 @@ python3-brotli python3-cairo python3-chardet python3-editorconfig +python3-flake8 python3-gi python3-github python3-jsonschema