mirrors-autoflake
mirrors-autoflake copied to clipboard
Cannot get the recursive flag to work in pre-commit
My .pre-commit-config.yaml
file is as below. When I run this on the command line it inspects all python files recursively, however, when running pre-commit, it only inspects python files in the immediate directory.
- repo: https://github.com/humitos/mirrors-autoflake
rev: v1.3
hooks:
- id: autoflake
args: ['--remove-all-unused-imports', '--in-place', '--remove-unused-variable', '--exclude', 'base.py', '--recursive', '.']