diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be2efd00d8513d7c606406e21f41187f54682e55..0143e233bfef3d75d81f21f29074cd575cf82345 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,24 +75,23 @@ install: #### #### ####################################################################################################################################### -lint: +format: stage: test - allow_failure: false before_script: - source ./venv/bin/activate - - pip install pylint + - pip install autopep8 script: - - pylint --recursive=y ./backend - + - autopep8 --in-place --recursive ./backend + -format: +lint: stage: test - needs: ["lint"] + allow_failure: false before_script: - source ./venv/bin/activate - - pip install autopep8 + - pip install pylint script: - - autopep8 --in-place --recursive ./backend + - pylint --recursive=y ./backend test: