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

Fix for:
warning: `ruff <path>` is deprecated. Use `ruff check <path>` instead.
This commit is contained in:
Oliver Smith 2024-03-10 21:20:35 +01:00 committed by Newbyte
parent b91b83afb7
commit 1020bd61ad
No known key found for this signature in database
GPG Key ID: 8A700086A9FE41FD
1 changed files with 2 additions and 2 deletions

View File

@ -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 .