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
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:That runs the following after the
setuptoolsbuild_editablehook:We'd need to add a dependency on
pre_commit, which is already onconda-forge.This depends on #103