nb_black icon indicating copy to clipboard operation
nb_black copied to clipboard

Configuring nb_black as a pre-commit hook

Open mbaudin47 opened this issue 4 years ago • 0 comments

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.

mbaudin47 avatar Apr 11 '20 20:04 mbaudin47