Loading .gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -90,7 +90,6 @@ python:twine: python:poetry:pip-licenses: before_script: - cd templates_tests/python - pip install . variables: ALLOWED: MIT License Loading python/flake8.yml +1 −2 Original line number Diff line number Diff line Loading @@ -6,8 +6,7 @@ python:flake8: EXTRA_ARGS: "" stage: test image: registry.gitlab.com/notno/python-tests before_script: - pip install . script: - pip install . - pip install flake8 - flake8 ${DEFAULT_ARGS} ${EXTRA_ARGS} ${CHECK_PATH} && echo "[+] No problems found. Well done!" python/mutmut.yml +1 −2 Original line number Diff line number Diff line Loading @@ -8,9 +8,8 @@ python:mutmut: stage: test image: registry.gitlab.com/notno/python-tests before_script: - pip install . script: - pip install . - pip install pytest mutmut - mkdir project && \ mv ${PYTHON_PACKAGE} project/ && \ Loading python/mypy.yml +1 −2 Original line number Diff line number Diff line Loading @@ -7,9 +7,8 @@ python:mypy: EXCLUDE_REGEX: '(tests/|setup.py)' # Keep the single quotes DEFAULT_SETTINGS: "--strict --ignore-missing-imports --show-error-context" EXTRA_SETTINGS: "" # Use this to add your settings to the default before_script: - pip install . script: - pip install . - pip install mypy - mypy --install-types --non-interactive --junit-xml ${CI_PROJECT_DIR}/mypy-report.xml --exclude $EXCLUDE_REGEX ${DEFAULT_SETTINGS} ${EXTRA_SETTINGS} ${CHECK_PATH} artifacts: Loading python/poetry/pip-licenses.yml +1 −2 Original line number Diff line number Diff line Loading @@ -7,9 +7,8 @@ python:poetry:pip-licenses: image: registry.gitlab.com/notno/python-tests:latest variables: ALLOWED: "" # Empty means all. Semicolon separated list. See https://pypi.org/project/pip-licenses/#option-allow-only before_script: - pip install . script: - pip install . - pip install pip-licenses - PACKAGES=$(dasel select -f pyproject.toml "tool.poetry.dependencies" | cut -d' ' -f1 | tr '\n' ' ') - pip-licenses --allow-only="${ALLOWED}" --packages ${PACKAGES} Loading Loading
.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -90,7 +90,6 @@ python:twine: python:poetry:pip-licenses: before_script: - cd templates_tests/python - pip install . variables: ALLOWED: MIT License Loading
python/flake8.yml +1 −2 Original line number Diff line number Diff line Loading @@ -6,8 +6,7 @@ python:flake8: EXTRA_ARGS: "" stage: test image: registry.gitlab.com/notno/python-tests before_script: - pip install . script: - pip install . - pip install flake8 - flake8 ${DEFAULT_ARGS} ${EXTRA_ARGS} ${CHECK_PATH} && echo "[+] No problems found. Well done!"
python/mutmut.yml +1 −2 Original line number Diff line number Diff line Loading @@ -8,9 +8,8 @@ python:mutmut: stage: test image: registry.gitlab.com/notno/python-tests before_script: - pip install . script: - pip install . - pip install pytest mutmut - mkdir project && \ mv ${PYTHON_PACKAGE} project/ && \ Loading
python/mypy.yml +1 −2 Original line number Diff line number Diff line Loading @@ -7,9 +7,8 @@ python:mypy: EXCLUDE_REGEX: '(tests/|setup.py)' # Keep the single quotes DEFAULT_SETTINGS: "--strict --ignore-missing-imports --show-error-context" EXTRA_SETTINGS: "" # Use this to add your settings to the default before_script: - pip install . script: - pip install . - pip install mypy - mypy --install-types --non-interactive --junit-xml ${CI_PROJECT_DIR}/mypy-report.xml --exclude $EXCLUDE_REGEX ${DEFAULT_SETTINGS} ${EXTRA_SETTINGS} ${CHECK_PATH} artifacts: Loading
python/poetry/pip-licenses.yml +1 −2 Original line number Diff line number Diff line Loading @@ -7,9 +7,8 @@ python:poetry:pip-licenses: image: registry.gitlab.com/notno/python-tests:latest variables: ALLOWED: "" # Empty means all. Semicolon separated list. See https://pypi.org/project/pip-licenses/#option-allow-only before_script: - pip install . script: - pip install . - pip install pip-licenses - PACKAGES=$(dasel select -f pyproject.toml "tool.poetry.dependencies" | cut -d' ' -f1 | tr '\n' ' ') - pip-licenses --allow-only="${ALLOWED}" --packages ${PACKAGES} Loading