From bb0a16527a0ce7c56979b7f332d199c7e9097306 Mon Sep 17 00:00:00 2001 From: Sidartha-CT Date: Fri, 19 Sep 2025 11:34:04 +0530 Subject: [PATCH] Add flake8-unused-arguments to linting and pre-commit Signed-off-by: Sidartha-CT --- .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c25971116..a4a5c08d3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - name: flake8 Lint uses: py-actions/flake8@v2 with: - plugins: "flake8-bugbear" + plugins: "flake8-bugbear flake8-unused-arguments" help-check: # Tie runner to Ubuntu 22.04 LTS, as it still supports Python 3.7 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ad39db18a..6c6a1df27 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,6 +13,7 @@ repos: - id: flake8 additional_dependencies: - "flake8-bugbear" + - "flake8-unused-arguments" #- repo: https://github.com/shellcheck-py/shellcheck-py # rev: v0.9.0.5