-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
For the code formatter extension, this issue details the process for creating a code formatter notebook. Because there are several different code formatters that are compatible with Python, this tutorial will stick with Python formatters. Future work could add tutorials on formatters for other languages. Knowing that, the strategy for this is:
- CodeFormatter: look through the black formatter style guide and see what things are formatted which way and why [2 hrs] #59
- experiment with these things using each formatter and take notes in a cell inside an experimental notebook
- extract basic features like single quotes versus double quotes for
- CodeFormatter: make notebooks
- CodeFormatter: explain basic features in an introductory notebook using experimental notebook [2 hrs] #60
- Identify basic features
- Develop examples
- CodeFormatter: come up with a realistic-ish example that utilizes style guides to make it cleaner [2 hrs] #61
- consider using a notebook online and unformatting it?
- CodeFormatter: explain basic features in an introductory notebook using experimental notebook [2 hrs] #60
- CodeFormatter: update environment.yml to include pip dependencies (code-formatter extension and formatters) [30 minutes] #62
Ideally, the example notebooks from this could be used to create material for #43 and solve much of nbdime here.
Metadata
Metadata
Assignees
Labels
No labels