From 270b11d50229e67e2d8d63e96464f9bcd12b527c Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sat, 13 Nov 2021 21:32:58 -0500 Subject: [PATCH] Revert "style: drop pycln" (#3466) * Revert "style: drop pycln (#3397)" This reverts commit 606f81a966e56d1ec0f17b0c032e8d6679430d67. * Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6f0bb39b1..91047b328 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,6 +61,12 @@ repos: hooks: - id: remove-tabs +# Autoremoves unused imports +- repo: https://github.com/hadialqattan/pycln + rev: v1.1.0 + hooks: + - id: pycln + - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.9.0 hooks: