From 3e838a6676d0c0407422cc04eddc83103a9258c1 Mon Sep 17 00:00:00 2001 From: Elliana May Date: Wed, 30 Aug 2023 16:15:38 +0800 Subject: [PATCH] build: update autoflake hook --- .pre-commit-config.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4f3586e2..378a3831 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,13 +17,16 @@ repos: - id: isort args: - --float-to-top - - repo: https://github.com/humitos/mirrors-autoflake - rev: v1.3 + - repo: https://github.com/PyCQA/autoflake + rev: v2.2.0 hooks: - id: autoflake args: - --in-place - --remove-all-unused-imports + - --expand-star-imports + - --remove-duplicate-keys + - --remove-unused-variables - repo: https://github.com/asottile/pyupgrade rev: v3.10.1 hooks: