Skip to content

Add pre-commit hooks config file#62

Merged
myint merged 1 commit intoPyCQA:masterfrom
trim21:master
May 17, 2020
Merged

Add pre-commit hooks config file#62
myint merged 1 commit intoPyCQA:masterfrom
trim21:master

Conversation

@trim21
Copy link
Copy Markdown
Contributor

@trim21 trim21 commented Jan 21, 2020

close #61

  - repo: https://github.com/myint/autoflake
    rev: b330072a26bb13aea8843f8083cee5332d71f78f
    hooks:
      - id: autoflake
        args:
          - --in-place
          - --remove-unused-variables
          - --remove-all-unused-imports
          - --expand-star-imports

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.1%) to 99.438% when pulling d7fff47 on Trim21:master into 095161e on myint:master.

@myint myint changed the title add pre-commut hooks config file Add pre-commit hooks config file May 17, 2020
@myint myint merged commit b330072 into PyCQA:master May 17, 2020
@yajo
Copy link
Copy Markdown

yajo commented May 25, 2020

Would you mind doing a release to let us use this in pre-commit comfortably?

@merfolk
Copy link
Copy Markdown

merfolk commented Mar 23, 2021

Shouldn't instructions for setting up pre-commit be part of this repository's readme as well?

ibesso-rh added a commit to ibesso-rh/openshift-python-wrapper that referenced this pull request Aug 1, 2021
autoflake complements flake8 for removing unused imports
because flake8 just reports them and fails the pre-commit

followed this reference to integrate via pre-commit:
PyCQA/autoflake#62
myakove pushed a commit to RedHatQE/openshift-python-wrapper that referenced this pull request Aug 11, 2025
autoflake complements flake8 for removing unused imports
because flake8 just reports them and fails the pre-commit

followed this reference to integrate via pre-commit:
PyCQA/autoflake#62
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

Successfully merging this pull request may close these issues.

pre-commit support?

5 participants