Skip to content
Snippets Groups Projects
Commit 08ee1967 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Add CI

parent fbb76461
No related branches found
No related tags found
No related merge requests found
---
stages:
- linting
# Change pip's cache directory to be inside the project directory since we can
# only cache local items.
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache
docformatter:
stage: linting
image: python:3
before_script:
- pip3 install -U pip docformatter
script:
- docformatter --check -r .
black:
stage: linting
image: python:3
before_script:
- pip3 install -U pip black
script:
- black --check .
isort:
stage: linting
image: python:3
before_script:
- pip3 install -U pip isort
script:
- isort -c .
flake8:
stage: linting
image: python:3
before_script:
- pip3 install -U pip flake8
script:
- flake8 .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment