mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
pre-commit: run black without string normalization
This commit is contained in:
@@ -22,6 +22,7 @@ def tljh_extra_user_pip_packages():
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
@hookspec
|
||||
def tljh_extra_hub_pip_packages():
|
||||
"""
|
||||
@@ -29,6 +30,7 @@ def tljh_extra_hub_pip_packages():
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
@hookspec
|
||||
def tljh_extra_apt_packages():
|
||||
"""
|
||||
@@ -38,6 +40,7 @@ def tljh_extra_apt_packages():
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
@hookspec
|
||||
def tljh_custom_jupyterhub_config(c):
|
||||
"""
|
||||
@@ -48,6 +51,7 @@ def tljh_custom_jupyterhub_config(c):
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
@hookspec
|
||||
def tljh_config_post_install(config):
|
||||
"""
|
||||
@@ -60,6 +64,7 @@ def tljh_config_post_install(config):
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
@hookspec
|
||||
def tljh_post_install():
|
||||
"""
|
||||
@@ -70,10 +75,11 @@ def tljh_post_install():
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
@hookspec
|
||||
def tljh_new_user_create(username):
|
||||
"""
|
||||
Script to be executed after a new user has been added.
|
||||
This can be arbitrary Python code.
|
||||
"""
|
||||
pass
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user