adding autoflake

This commit is contained in:
João Moura
2024-03-11 22:56:14 -03:00
parent 04d9603449
commit 4541835487

View File

@@ -12,4 +12,10 @@ repos:
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black", "--filter-files"]
args: ["--profile", "black", "--filter-files"]
- repo: https://github.com/PyCQA/autoflake
rev: v2.2.1
hooks:
- id: autoflake
args: ['--in-place', '--remove-all-unused-imports', '--remove-unused-variables', '--ignore-init-module-imports']