From 8b560a9e90f8a42d39fa1a92a121c1fe93076884 Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Wed, 6 Sep 2023 17:09:48 +0200 Subject: [PATCH] remove only changes --- templates/python/code_quality/black/black.yml | 5 ----- templates/python/code_quality/flake8/flake8.yml | 6 ------ templates/python/code_quality/isort/isort.yml | 5 ----- templates/python/code_quality/mypy/mypy.yml | 9 +-------- templates/python/code_quality/ruff/ruff.yml | 7 ------- templates/python/testing/pytest/pytest.yml | 6 ------ 6 files changed, 1 insertion(+), 37 deletions(-) diff --git a/templates/python/code_quality/black/black.yml b/templates/python/code_quality/black/black.yml index 17d299c..2d45935 100644 --- a/templates/python/code_quality/black/black.yml +++ b/templates/python/code_quality/black/black.yml @@ -10,8 +10,3 @@ black: script: - !reference [.python_install, script] - black ${PROJECT_PATH} --check --diff --quiet - only: - changes: - - ${PROJECT_PATH}/**/*.py - - .gitlab-ci.yml - - ${PROJECT_PATH}/pyproject.toml diff --git a/templates/python/code_quality/flake8/flake8.yml b/templates/python/code_quality/flake8/flake8.yml index a5dcf4a..76e4100 100644 --- a/templates/python/code_quality/flake8/flake8.yml +++ b/templates/python/code_quality/flake8/flake8.yml @@ -10,9 +10,3 @@ flake8: script: - !reference [.python_install, script] - flake8 ${PROJECT_PATH} -v - only: - changes: - - ${PROJECT_PATH}/**/*.py - - .gitlab-ci.yml - - ${PROJECT_PATH}/pyproject.toml - - ${PROJECT_PATH}/.flake8 diff --git a/templates/python/code_quality/isort/isort.yml b/templates/python/code_quality/isort/isort.yml index a3ec775..9f46fd3 100644 --- a/templates/python/code_quality/isort/isort.yml +++ b/templates/python/code_quality/isort/isort.yml @@ -10,8 +10,3 @@ isort: script: - !reference [.python_install, script] - isort . --check-only --verbose - only: - changes: - - ${PROJECT_PATH}/**/*.py - - .gitlab-ci.yml - - ${PROJECT_PATH}/pyproject.toml diff --git a/templates/python/code_quality/mypy/mypy.yml b/templates/python/code_quality/mypy/mypy.yml index ccfd700..8249e87 100644 --- a/templates/python/code_quality/mypy/mypy.yml +++ b/templates/python/code_quality/mypy/mypy.yml @@ -10,13 +10,6 @@ mypy: script: - !reference [.python_install, script] - mypy ${PROJECT_PATH} - only: - changes: - - ${PROJECT_PATH}/**/*.py - - .gitlab-ci.yml - - ${PROJECT_PATH}/pyproject.toml - - ${PROJECT_PATH}/mypy.ini - - ${PROJECT_PATH}/.mypy.ini - - ${PROJECT_PATH}/setup.cfg + diff --git a/templates/python/code_quality/ruff/ruff.yml b/templates/python/code_quality/ruff/ruff.yml index 5856ace..daabfc7 100644 --- a/templates/python/code_quality/ruff/ruff.yml +++ b/templates/python/code_quality/ruff/ruff.yml @@ -10,10 +10,3 @@ ruff: script: - !reference [.python_install, script] - ruff check ${PROJECT_PATH} - only: - changes: - - ${PROJECT_PATH}/**/*.py - - .gitlab-ci.yml - - ${PROJECT_PATH}/pyproject.toml - - ${PROJECT_PATH}/.ruff.toml - - ${PROJECT_PATH}/ruff.toml diff --git a/templates/python/testing/pytest/pytest.yml b/templates/python/testing/pytest/pytest.yml index c42f295..7502418 100644 --- a/templates/python/testing/pytest/pytest.yml +++ b/templates/python/testing/pytest/pytest.yml @@ -10,9 +10,3 @@ pytest: script: - !reference [.python_install, script] - ${PYTEST_RUN_CMD} - only: - changes: - - ${PROJECT_PATH}/**/*.py - - .gitlab-ci.yml - - ${PROJECT_PATH}/pyproject.toml - - ${PROJECT_PATH}/pytest.ini -- GitLab