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 and pre-commit-ci #1672

Merged
merged 4 commits into from
Feb 6, 2022

Commits on Jan 29, 2022

  1. pre-commit and pre-commit-ci

    Add pre-commit and pre-commit-ci with the following hooks:
    
    - black for formatting code.
    
    For more info see `docs/developers.rst`.
    aucampia committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    b2e124d View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2022

  1. Configuration menu
    Copy the full SHA
    eec3a6d View commit details
    Browse the repository at this point in the history
  2. Remove a dangling reference to isort

    Can be added later with the rest of isort.
    aucampia committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    be4c81f View commit details
    Browse the repository at this point in the history
  3. Change to a local hook for black

    This is to work around this issue: psf/black#2493
    
    Without doing this the pre-commit hook for black fails as it thinks it
    got the wrong version.
    aucampia committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    3700b6c View commit details
    Browse the repository at this point in the history