angelolab / angelolab/toffy

Add pre-commit hooks for Jupyter notebooks

Open
#349 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
17
Forks
3
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

The current pre-commit hooks work very well on the source files, however they don't currently format Jupyter notebooks. We should add a pre-commit hook to handle this.

**Describe the solution you'd like**

`nbQA` is the standard. It offers `mypy`, `flake8`, and `black` on top of a lot of other options customized for Jupyter notebook.

**Additional context**

For our pure Python repos, `nbQA` would be a good option to add as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.