browniebroke / pypackage-template

A project template for Python package with heavy use of Github actions
MIT License
53 stars 13 forks source link

Add nb-clean #496

Open 34j opened 1 year ago

34j commented 1 year ago

Is your feature request related to a problem? Please describe. I'm always frustrated that import statements and example notebooks are messed up. It is a burden to manually add autoflake and nb-clean.

Describe the solution you'd like Add autoflake and nb-clean. .pre-commit-config.yaml and pyproject.toml must be changed.

Additional context I can send a PR for this. Thank you so much for this wonderful template.

browniebroke commented 1 year ago

I'm open to add autoflake, but nbclean is too specific for my use cases (I don't create projets with notebooks very often)