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