Skip to content
Snippets Groups Projects
Commit 59da9320 authored by Florentin Labelle's avatar Florentin Labelle
Browse files

Add linting CI

parent 1b316b32
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ stages: ...@@ -7,7 +7,7 @@ stages:
download_dependencies: download_dependencies:
stage: dependencies stage: dependencies
before_script: before_script:
- venv .venv - python -m venv .venv
- source .venv/bin/activate - source .venv/bin/activate
script: script:
- pip install -r requirements.txt - pip install -r requirements.txt
...@@ -22,6 +22,7 @@ pylint: ...@@ -22,6 +22,7 @@ pylint:
needs: needs:
- download_dependencies - download_dependencies
before_script: before_script:
- source .venv/bin/activate
- pip install pylint - pip install pylint
script: script:
- pylint calculator --fail-on=error - pylint calculator --fail-on=error
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment