mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
pre-commit: run black with string normalization
This commit is contained in:
@@ -17,7 +17,7 @@ def tljh_dir(tmpdir):
|
||||
reload(tljh)
|
||||
for name in dir(tljh):
|
||||
mod = getattr(tljh, name)
|
||||
if isinstance(mod, types.ModuleType) and mod.__name__.startswith('tljh.'):
|
||||
if isinstance(mod, types.ModuleType) and mod.__name__.startswith("tljh."):
|
||||
reload(mod)
|
||||
assert tljh.config.INSTALL_PREFIX == tljh_dir
|
||||
os.makedirs(tljh.config.STATE_DIR)
|
||||
|
||||
Reference in New Issue
Block a user