mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Utilities for working with the apt package manager
|
||||
"""
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Wrap conda commandline program
|
||||
"""
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Hook specifications that pluggy plugins can override
|
||||
"""
|
||||
|
||||
import pluggy
|
||||
|
||||
hookspec = pluggy.HookspecMarker("tljh")
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Setup tljh logging"""
|
||||
|
||||
import logging
|
||||
import os
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Functions to normalize various inputs
|
||||
"""
|
||||
|
||||
import hashlib
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ Wraps systemctl to install, uninstall, start & stop systemd services.
|
||||
|
||||
If we use a debian package instead, we can get rid of all this code.
|
||||
"""
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
"""Traefik installation and setup"""
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import logging
|
||||
|
||||
@@ -3,6 +3,7 @@ User management for tljh.
|
||||
|
||||
Supports minimal user & group management
|
||||
"""
|
||||
|
||||
import grp
|
||||
import pwd
|
||||
import subprocess
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"""
|
||||
Miscellaneous functions useful in at least two places unrelated to each other
|
||||
"""
|
||||
|
||||
import logging
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
ensures the same yaml settings for reading/writing
|
||||
throughout tljh
|
||||
"""
|
||||
|
||||
from ruamel.yaml import YAML
|
||||
from ruamel.yaml.composer import Composer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user