From f03867bc0fb5ef0e1a8cb31b0b8985d1d530383e Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Fri, 22 Sep 2023 14:23:02 -0600 Subject: [PATCH] Add Python linter Signed-off-by: Nicolas Bock --- .github/workflows/CI.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index cdb9123d..9a30ba02 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -35,6 +35,9 @@ jobs: - run: bundle install - run: bundle exec danger || true - run: BML_OPENMP=no EMACS=emacs27 ./build.sh check_indent + - run: apt-get install --yes python3-pip + - run: pip install pycodestyle + - run: pycodestyle $(git ls-files '*.py') build: name: Build and test (${{ matrix.JOBNAME }})