From d97f9bcdf6a5b2744cca1f0fca46f04332ee3f51 Mon Sep 17 00:00:00 2001 From: Hadi Alqattan Date: Sat, 26 Feb 2022 16:22:55 +0300 Subject: [PATCH] Adding Pycln QA tool as a pre-commit hook. --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 76f916b9..246d9950 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -25,6 +25,11 @@ repos: - id: python-use-type-annotations - id: rst-directive-colons - id: rst-inline-touching-normal + - repo: https://github.com/hadialqattan/pycln + rev: v1.2.3 + hooks: + - id: pycln + args: [--all] - repo: https://github.com/psf/black rev: 22.1.0 hooks: