Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • hive/common-ci-configuration
1 result
Show changes
Commits on Source (2)
......@@ -10,8 +10,8 @@ variables:
PYTEST_LOG_DURATIONS: 0 # do not log test durations by default
PYTEST_JUNIT_REPORT: "report.xml" # junit report location, used by GitLab
# registries:
# uses registry.gitlab.syncad.com/hive/hive/ci-base-image:ubuntu22.04-10
PYTHON_IMAGE_TAG: "@sha256:080b16fd53013aeb9b89b00a8dfc90fecf886173f46448b05f45cee376c43330"
# uses registry.gitlab.syncad.com/hive/hive/ci-base-image:ubuntu24.04-1
PYTHON_IMAGE_TAG: "@sha256:813f18c42929193036fc4e0017981c16913766442ef8d146313c64785df29c2e"
PYTHON_IMAGE: "registry.gitlab.syncad.com/hive/hive/ci-base-image${PYTHON_IMAGE_TAG}"
# colors:
TXT_GREEN: "\e[1;32m"
......@@ -63,9 +63,9 @@ variables:
script:
- if [ -z "${PYPROJECT_CONFIG_PATH}" ]; then MAYBE_EXPLICIT_CONFIG=""; else MAYBE_EXPLICIT_CONFIG="--config ${PYPROJECT_CONFIG_PATH}"; fi
- echo -e "${TXT_BLUE}Linting all sources with Ruff (check)...${TXT_CLEAR}" &&
ruff ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}
ruff check ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}
- echo -e "${TXT_BLUE}Linting all sources with Ruff (diff)...${TXT_CLEAR}" &&
ruff --diff ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}
ruff check --diff ${MAYBE_EXPLICIT_CONFIG} ${PACKAGES_TO_CHECK}
.formatting_with_black_check_template:
extends: .project_develop_configuration_template
......