Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Python executor -m has been added to run flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
mozga-intel committed Oct 20, 2021
1 parent c4e7e3c commit 08af07d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/docker/runtime_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -718,9 +718,9 @@ sanity_python_flake8() {

# Install dependencies
pip3 install -r requirements-flake8.txt --user
pip3 list | grep flake

# Run flake8
flake8 | tee flake8-output.txt
python3 -m flake8 | tee flake8-output.txt

if [ -s flake8-output.txt ]; then
echo 'Please fix the above Flake8 warnings.'
Expand Down

0 comments on commit 08af07d

Please sign in to comment.