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

Configuring nb_black as a pre-commit hook #21

Open
mbaudin47 opened this issue Apr 11, 2020 · 0 comments
Open

Configuring nb_black as a pre-commit hook #21

mbaudin47 opened this issue Apr 11, 2020 · 0 comments

Comments

@mbaudin47
Copy link

I commonly use black as a pre-commit git hook. To do this, I create the file .pre-commit-config.yaml with the following content:

repos:
  - repo: https://github.com/ambv/black
    rev: stable
    hooks:
    - id: black
      language_version: python3.7

It would be extremely convenient to have the same feature with nb_black.

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