From 78980bc649d7f8a89470c3328ee55aab5b9dad94 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Mon, 19 Oct 2020 15:04:46 +0200 Subject: [PATCH] Use black and update CI venv --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4b38a6c..6c9c9cb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,11 +19,9 @@ stages: .virtualenv_template: &virtualenv_definition | python -V - pip install virtualenv - virtualenv venv + python3 -m venv venv source venv/bin/activate - pip install -r requirements-dev.txt - make install + make install-dev .junit_template: &junit_definition artifacts: @@ -59,7 +57,7 @@ code-style: stage: test script: - *virtualenv_definition - - yapf -r -d -e "venv" . + - make black-check allow_failure: true coverage: -- GitLab