heidelbergcement / hcrystalball

A library that unifies the API for most commonly used libraries and modeling techniques for time-series forecasting in the Python ecosystem.
https://hcrystalball.readthedocs.io/
MIT License
152 stars 19 forks source link

[BUG] Pre-commit does not strip notebooks' kernel information making docs build fail #42

Closed MichalChromcak closed 3 years ago

MichalChromcak commented 4 years ago

Describe the bug Notebooks kernelspec name information can be changed locally by contributors making docs build to fail.

To Reproduce Create ipykernel named hcrystalball, execute notebooks with that and push your changes

Expected behavior Docs build is independent on the developers local setup

Screenshots N/A

Additional context For ease of development

MichalChromcak commented 4 years ago

assigning nbsphinx_kernel_name = 'python3' to nbsphinx conf should do the job