From 64ebee4f5d05d096e7a382e9a8502bf5e0c8988d Mon Sep 17 00:00:00 2001 From: "Dunbar-Hall, Ian" Date: Mon, 17 Feb 2020 18:28:35 +0000 Subject: [PATCH] Update .gitlab-ci.yml, requirements.txt files --- .gitlab-ci.yml | 18 ++++++++++++++++-- requirements.txt | 10 ++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2300308..5243c1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,19 @@ variables: - PYTHON_IMAGE: python:3-alpine + PYTHON_IMAGE: python:3.7 + +pylint: + stage: test + image: $PYTHON_IMAGE + script: + - pip3 install -q -r requirements.txt + - pylint --errors-only replicator + +mypy: + stage: test + image: $PYTHON_IMAGE + script: + - pip3 install -q -r requirements.txt + - mypy replicator pytest: stage: test @@ -11,4 +25,4 @@ pytest: paths: - pytest-junit.xml reports: - junit: pytest-junit.xml \ No newline at end of file + junit: pytest-junit.xml diff --git a/requirements.txt b/requirements.txt index 89d2b4d..c77e939 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ +astroid==2.3.3 attrs==19.3.0 beautifulsoup4==4.8.1 certifi==2019.11.28 @@ -5,13 +6,19 @@ chardet==3.0.4 coverage==5.0.3 idna==2.8 importlib-metadata==1.5.0 +isort==4.3.21 Jinja2==2.10.3 +lazy-object-proxy==1.4.3 MarkupSafe==1.1.1 +mccabe==0.6.1 mock==4.0.1 more-itertools==8.2.0 +mypy==0.761 +mypy-extensions==0.4.3 packaging==20.1 pluggy==0.13.1 py==1.8.1 +pylint==2.4.4 pyotp==2.3.0 pyparsing==2.4.6 pytest==5.3.5 @@ -21,6 +28,9 @@ python-dateutil==2.8.1 requests==2.22.0 six==1.13.0 soupsieve==1.9.5 +typed-ast==1.4.1 +typing-extensions==3.7.4.1 urllib3==1.25.7 wcwidth==0.1.8 +wrapt==1.11.2 zipp==2.2.0 -- GitLab