diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..8b1e2ddc6df47b0bfdee16af9a5782b37c58fdb1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: "python:3.7" + +before_script: + - python --version + - pip install flake8 + - pip install pylint + +stages: + - lint + +flake8: + tags: + - lint + stage: lint + script: + - flake8 --exclude=tests.py --max-line-length=120 *.py app + +pylint: + tags: + - lint + stage: lint + script: + - pylint --ignore=tests.py --max-line-length=120 *.py app +