Skip to content

Commit

Permalink
CI: Fix linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Dec 4, 2024
1 parent 637d989 commit e24f9d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/python-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
- uses: actions/checkout@v3

- name: Install Python Deps
run: python3 -m pip install flake8

- name: Lint MicroPython Examples
shell: bash
run: |
python3 -m flake8 --show-source --ignore E501 examples/micropython
python3 -m venv .venv
source .venv/bin/activate
python -m pip install flake8
- name: Lint Cosmic Unicorn Libs
- name: Lint MicroPython Examples
shell: bash
run: |
python3 -m flake8 --show-source --ignore E501 firmware/PIMORONI_COSMIC_UNICORN/lib
source .venv/bin/activate
python -m flake8 --show-source --ignore E501 examples/
- name: Lint Galactic Unicorn Libs
- name: Lint MicroPython Modules
shell: bash
run: |
python3 -m flake8 --show-source --ignore E501 firmware/PIMORONI_GALACTIC_UNICORN/lib
source .venv/bin/activate
python -m flake8 --show-source --ignore E501 modules/
2 changes: 1 addition & 1 deletion ci/micropython.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function ci_micropython_build_mpy_cross {
}

function ci_apt_install_build_deps {
sudo apt update && sudo apt install ccache python3-virtualenvwrapper virtualenvwrapper
sudo apt update && sudo apt install ccache
}

function ci_prepare_all {
Expand Down

0 comments on commit e24f9d7

Please sign in to comment.