Skip to content

Commit

Permalink
Add autoflake in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
shweta83 committed Jun 7, 2023
1 parent 8a2b45d commit f50ba88
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
- repo: https://github.com/PyCQA/autoflake
rev: v2.1.1
hooks:
- id: autoflake
"types": [ python ]
require_serial: true
args:
- "--in-place"
- "--expand-star-imports"
- "--remove-duplicate-keys"
- "--remove-unused-variables"
- "--remove-all-unused-imports"
- repo: local
hooks:
- id: fix-uuids
Expand Down

0 comments on commit f50ba88

Please sign in to comment.