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
This commit is part of merge request !360. Comments created here will be created in the context of that merge request.
...@@ -4,7 +4,8 @@ stages: ...@@ -4,7 +4,8 @@ stages:
before_script: before_script:
- apt-get update --yes - 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 -m pip install --upgrade pip
- python --version - python --version
- pip install -r requirements.txt - pip install -r requirements.txt
...@@ -123,6 +124,13 @@ run-doc-test: ...@@ -123,6 +124,13 @@ run-doc-test:
# Run linting on doc-strings # Run linting on doc-strings
- pip install black velin - pip install black velin
- velin . --check --black - 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: pages:
variables: variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment