mirrors-autoflake icon indicating copy to clipboard operation
mirrors-autoflake copied to clipboard

Cannot get the recursive flag to work in pre-commit

Open superDross opened this issue 5 years ago • 0 comments

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', '.']

superDross avatar Jan 25 '20 06:01 superDross