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

Pre-commit #59

Open
Bizilizi opened this issue Dec 21, 2019 · 1 comment
Open

Pre-commit #59

Bizilizi opened this issue Dec 21, 2019 · 1 comment

Comments

@Bizilizi
Copy link

Hello. Could you please suggest for some reasons why this config in pre-commit-config.yaml does not work:

repos:
  - repo: https://github.com/miki725/importanize/
    rev: 'master'
    hooks:
      - id: importanize
        name: importanize
        entry: python -m importanize
        language: python
        language_version: python3
        types: [python]
        args: [-v, --no-subconfig]
        additional_dependencies: [click, pluggy, pyflakes]

I always get 'Passed' from importanize hook, but no changes in files

@miki725
Copy link
Owner

miki725 commented Dec 24, 2019

can you try with -vv verbosity level? only thing which comes to mind is if importanize excludes all the files. can you paste your importanize config files?

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

2 participants