-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
As we're switching more libraries to use pre-commit
, it would be handy to have an option install pre-commit on editable installs. This should be a config option like:
[tool.jupyter-packaging]
install-pre-commit = True
That runs the following after the setuptools
build_editable
hook:
subprocess.run([sys.executable, '-m', 'pre_commit', 'install'])
We'd need to add a dependency on pre_commit
, which is already on conda-forge
.
This depends on #103