Configure autoflake for pre-commit (#82414)

This commit is contained in:
Aarni Koskela
2022-11-22 09:10:36 +02:00
committed by GitHub
parent bf3c6e5f58
commit e4c73259f7
17 changed files with 11 additions and 33 deletions

View File

@@ -4,6 +4,13 @@ repos:
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/PyCQA/autoflake
rev: v1.7.7
hooks:
- id: autoflake
args:
- --in-place
- --remove-all-unused-imports
- repo: https://github.com/psf/black
rev: 22.10.0
hooks: