chore: add pycln for easier cleanup of imports (#845)

This commit is contained in:
Henry Schreiner
2021-09-25 11:41:09 +02:00
committed by GitHub
parent 0e6334e135
commit 120f1e8d58
2 changed files with 10 additions and 0 deletions
+7
View File
@@ -25,6 +25,13 @@ repos:
exclude: ^(cibuildwheel|unit_test|test)/
args: ["--py37-plus"]
# Autoremoves unused imports
- repo: https://github.com/hadialqattan/pycln
rev: v1.0.3
hooks:
- id: pycln
args: [--config=pyproject.toml]
- repo: https://github.com/PyCQA/isort
rev: 5.9.3
hooks: