Unverified Commit 65fd5695 authored by Philipp Sommer's avatar Philipp Sommer
Browse files

add ci configuration

parent 22f2ca3f
image: python:3.8
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip
before_script:
- python -V # Print out python version for debugging
- sleep 5
test:
script:
- pip install tox
- tox
[tool.isort]
profile = "black"
line_length = 79
src_paths = ["demessaging"]
float_to_top = true
known_first_party = "demessaging"
[tool.black]
line-length = 79
target-version = ['py38']
[tox]
[testenv]
# install pytest in the virtualenv where commands will be executed
deps =
pytest
pytest-lazy-fixture
extras =
dev
commands =
mypy deprogressapi
isort --check deprogressapi
black --check deprogressapi
blackdoc --check deprogressapi
flake8 deprogressapi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment