Skip to content
Snippets Groups Projects
Commit 841933f1 authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Add ruff linting

parent bdb33814
No related branches found
No related tags found
1 merge request!360Ruff precommit
Pipeline #96809 failed
......@@ -4,7 +4,8 @@ stages:
before_script:
- apt-get update --yes
- apt-get install --yes build-essential cmake graphviz python3-pyqt5 xvfb xdg-utils lcov
# - apt-get install --yes build-essential cmake graphviz python3-pyqt5 xvfb xdg-utils lcov
- apt-get install --yes graphviz python3-pyqt5 xvfb xdg-utils
- python -m pip install --upgrade pip
- python --version
- pip install -r requirements.txt
......@@ -123,6 +124,13 @@ run-doc-test:
# Run linting on doc-strings
- pip install black velin
- velin . --check --black
- pip install ruff
- ruff b_asic --format=gitlab > ruff.json
artifacts:
name: "${CI_PROJECT_NAME}_code_quality"
when: always
reports:
codequality: ruff.json
pages:
variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment