Skip to content
Snippets Groups Projects
Verified Commit 1020bd61 authored by Oliver Smith's avatar Oliver Smith Committed by Newbyte
Browse files

CI: ruff: fix "ruff <path>" warning (MR 2274)

Fix for:
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.
parent b91b83af
Branches
Tags
1 merge request!2274CI: ruff: fix "ruff <path>" warning
Pipeline #190213 passed
......@@ -13,7 +13,7 @@ set -x
# __init__.py with additional ignore:
# F401: imported, but not used
# shellcheck disable=SC2046
ruff --ignore "F401" $(find . -not -path '*/venv/*' -name '__init__.py')
ruff check --ignore "F401" $(find . -not -path '*/venv/*' -name '__init__.py')
# Check all other files
ruff --exclude=__init__.py .
ruff check --exclude=__init__.py .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment