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:
@@ -172,7 +172,16 @@ def test_pip_install(group, allowed):
|
||||
# get a failure if the user can't install to the global site. Which is
|
||||
# what we wanted to test for here.
|
||||
subprocess.check_call(
|
||||
[python, "-m", "pip", "install", "--no-user", "--ignore-installed", "--no-deps", "flit"],
|
||||
[
|
||||
python,
|
||||
"-m",
|
||||
"pip",
|
||||
"install",
|
||||
"--no-user",
|
||||
"--ignore-installed",
|
||||
"--no-deps",
|
||||
"flit",
|
||||
],
|
||||
preexec_fn=partial(setgroup, group),
|
||||
)
|
||||
if allowed:
|
||||
|
||||
Reference in New Issue
Block a user