File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ jobs:
1212 - uses : actions/checkout@v3
1313
1414 - name : Install Python Deps
15- run : python3 -m pip install flake8
16-
17- - name : Lint MicroPython Examples
18- shell : bash
1915 run : |
20- python3 -m flake8 --show-source --ignore E501 examples/micropython
16+ python3 -m venv .venv
17+ source .venv/bin/activate
18+ python -m pip install flake8
2119
22- - name : Lint Cosmic Unicorn Libs
20+ - name : Lint MicroPython Examples
2321 shell : bash
2422 run : |
25- python3 -m flake8 --show-source --ignore E501 firmware/PIMORONI_COSMIC_UNICORN/lib
23+ source .venv/bin/activate
24+ python -m flake8 --show-source --ignore E501 examples/
2625
27- - name : Lint Galactic Unicorn Libs
26+ - name : Lint MicroPython Modules
2827 shell : bash
2928 run : |
30- python3 -m flake8 --show-source --ignore E501 firmware/PIMORONI_GALACTIC_UNICORN/lib
29+ source .venv/bin/activate
30+ python -m flake8 --show-source --ignore E501 modules/
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ function ci_micropython_build_mpy_cross {
7070}
7171
7272function ci_apt_install_build_deps {
73- sudo apt update && sudo apt install ccache python3-virtualenvwrapper virtualenvwrapper
73+ sudo apt update && sudo apt install ccache
7474}
7575
7676function ci_prepare_all {
You can’t perform that action at this time.
0 commit comments