Mention nox and init task

This commit is contained in:
Alexander Hess 2020-10-12 22:47:50 +02:00
commit 955fb74673
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
2 changed files with 15 additions and 1 deletions

View file

@ -39,6 +39,11 @@ def init_project(session):
):
session.run("poetry", "run", "pre-commit", "install", f"--hook-type={type_}")
# Copy the extensions' JavaScript and CSS files into Jupyter's search directory.
session.run(
"poetry", "run", "jupyter", "contrib", "nbextension", "install", "--user"
)
@nox.session(name="fix-branch-references", venv_backend="none")
def fix_branch_references(_session):