Skip to content
Snippets Groups Projects
Commit fccc10fc authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Updated ruff command spawn to satisfy this tool new version

parent 35efd55e
No related branches found
No related tags found
1 merge request!77Updated Python Image tag to use U24.04 version
Pipeline #118680 passed
...@@ -63,9 +63,9 @@ variables: ...@@ -63,9 +63,9 @@ variables:
script: script:
- if [ -z "${PYPROJECT_CONFIG_PATH}" ]; then MAYBE_EXPLICIT_CONFIG=""; else MAYBE_EXPLICIT_CONFIG="--config ${PYPROJECT_CONFIG_PATH}"; fi - 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}" && - 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}" && - 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: .formatting_with_black_check_template:
extends: .project_develop_configuration_template extends: .project_develop_configuration_template
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment