mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
remove debug stuff
This commit is contained in:
parent
aacb871ccc
commit
47f7f3c91a
1 changed files with 2 additions and 5 deletions
|
|
@ -235,12 +235,9 @@ def install_environment(
|
|||
|
||||
if name is None:
|
||||
name = try_navigate('project', 'name')
|
||||
print(name)
|
||||
if name is None:
|
||||
setup = prefix.prefix_dir / Path('setup.py')
|
||||
print(setup)
|
||||
if setup.exists():
|
||||
print('it exists')
|
||||
with tempfile.TemporaryDirectory() as td:
|
||||
try:
|
||||
lang_base.setup_cmd(
|
||||
|
|
@ -254,7 +251,7 @@ def install_environment(
|
|||
'setup.py',
|
||||
'egg_info',
|
||||
'-e',
|
||||
f"{td}",
|
||||
f'{td}',
|
||||
),
|
||||
)
|
||||
candidates = list(Path(td).glob('*.egg-info'))
|
||||
|
|
@ -271,7 +268,7 @@ def install_environment(
|
|||
'uv',
|
||||
'pip',
|
||||
'install',
|
||||
f"{name} @ .",
|
||||
f'{name} @ .',
|
||||
*additional_dependencies,
|
||||
)
|
||||
if pip_cmd is not None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue