+
Skip to content

[Feat] CI/pre-commit: use hook 'black-jupyter' #13

@neteler

Description

@neteler

There is an interesting newish pre-commit hook for Jupyter Notebooks:

It expands the targets of black to include Jupyter Notebooks. To use this hook, use id: black-jupyter in a .pre-commit-config.yaml. See:

https://black.readthedocs.io/en/stable/integrations/source_version_control.html#jupyter-notebooks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载