diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 032a75e77..f1a38d303 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -62,4 +62,18 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: --all -- -Dwarnings \ No newline at end of file + args: --all -- -Dwarnings + + lint: + name: Lint Python code with flake8 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: actions/setup-python@v1 + with: + python-version: 3.6 + - name: install flake8 + run: python -m pip install flake8 + - name: run lint + run: flake8 . --count --exclude=./.*,./Lib,./vm/Lib --select=E9,F63,F7,F82 --show-source --statistics + \ No newline at end of file