Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get the recursive flag to work in pre-commit #3

Open
superDross opened this issue Jan 25, 2020 · 0 comments
Open

Cannot get the recursive flag to work in pre-commit #3

superDross opened this issue Jan 25, 2020 · 0 comments

Comments

@superDross
Copy link

superDross commented Jan 25, 2020

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', '.']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant