From 6da0c2ef5f548296a44da8d9f3825c25c738558b Mon Sep 17 00:00:00 2001 From: Ahmed Abdelsalam Date: Thu, 11 Jul 2024 10:07:44 +0200 Subject: [PATCH] Change: Fix linting with ruff --- .github/workflows/ci-python.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml index 9d89bf67..5aee8250 100644 --- a/.github/workflows/ci-python.yml +++ b/.github/workflows/ci-python.yml @@ -18,7 +18,7 @@ jobs: - "3.12" uses: greenbone/workflows/.github/workflows/lint-python.yml@main with: - linter: ruff + linter: ruff check lint-packages: gvmtools tests python-version: ${{ matrix.python-version }} @@ -44,7 +44,7 @@ jobs: run: poetry run black --check scripts/*.gmp.py - name: Lint scripts run: | - poetry run ruff --config scripts/ruff.toml scripts/*.py + poetry run ruff check --config scripts/ruff.toml scripts/*.py test: name: Unit tests