Skip to content

Commit

Permalink
Use flake8 from bluechi virtual env
Browse files Browse the repository at this point in the history
As as part of #856 flake8
is installed into /opt/bluechi-env, so we need to use that virtual env
for python linter job in GH.

Signed-off-by: Martin Perina <[email protected]>
  • Loading branch information
mwperina authored and engelmi committed Mar 27, 2024
1 parent da63df6 commit ddbbe2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,10 @@ jobs:

- name: Run flake8
run: |
find doc/ -name '*.py' | xargs flake8
find tests/ -name '*.py' | xargs flake8
source /opt/bluechi-env/bin/activate
flake8 doc
flake8 tests
deactivate
Expand Down

0 comments on commit ddbbe2b

Please sign in to comment.