Skip to content

Commit

Permalink
github: Add ruff to ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Tomi Valkeinen <[email protected]>
  • Loading branch information
tomba committed Oct 31, 2024
1 parent 0852e4b commit 917d561
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pylint numpy PyQt6 ipython
pip install pylint ruff numpy PyQt6 ipython
- name: Test with unittest
run: |
python3 -m unittest -v tests/test_install.py
run: python3 -m unittest -v tests/test_install.py

- name: Analysing the code with pylint
run: |
pylint $(git ls-files 'v4l2/*.py' 'tests/*.py')
run: pylint $(git ls-files 'v4l2/*.py' 'tests/*.py')

- name: Analysing the code with Ruff
run: ruff check --output-format=github .

0 comments on commit 917d561

Please sign in to comment.