aspect-build / aspect-build/rules_lint
[FR]: Formatting jupyter notebooks
- Dominant language
- Starlark
- Stars
- 154
- Forks
- 125
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 20
Description
### What is the current behavior?
At the moment these are not formatted at all. These could be formatted by a number of formatters, but handling the formatting at multiple levels will require some thought. Formatters such as ruff will only examine the python within the cells, but also the formatting of the raw json should be considered once the cell formatting has been checked.
### Describe the feature
Allow parsing of jupyter notebooks to multiple formatters, which autodetect the language within the cells, then a final pass by prettier/ other json formatter with an override to format *.ipynb patterns as json.
Contributor guide
Research direction
No files or tests are named. Start by locating the existing formatter entry points and reviewing how Jupyter notebook cells and *.ipynb files are currently handled; done means notebook cells can be routed to appropriate formatters and the notebook JSON receives a final formatting pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100