summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-08-05 12:36:33 +0200
committerGitHub <noreply@github.com>2022-08-05 12:36:33 +0200
commit5bf6b7e6a5f52429011ca16e0275848c27df4c9b (patch)
treef2187043c27979dbc3c8c4c009e569aa01691575 /pyproject.toml
parent901e6cb5e17d0a2df88554c454d5ec787828e37c (diff)
downloadspack-5bf6b7e6a5f52429011ca16e0275848c27df4c9b.tar.gz
spack-5bf6b7e6a5f52429011ca16e0275848c27df4c9b.tar.bz2
spack-5bf6b7e6a5f52429011ca16e0275848c27df4c9b.tar.xz
spack-5bf6b7e6a5f52429011ca16e0275848c27df4c9b.zip
Refactor `cmd/install.py` for better readability (#31936)
* Extracted two functions in cmd/install.py * Extracted a function to perform installation from the active environment * Rename a few functions, remove args from their arguments * Rework conditional in install_from_active_environment to reduce nesting in the function * Extract functions to parsespecs from cli and files * Extract functions to getuser confirmation for overwrite * Extract functions to install specs inside and outside environments * Rename a couple of functions * Fix outdated comment * Add missing imports * Split conditional to dedent one level * Invert check and exit early to dedent one level when requiring user confirmation
Diffstat (limited to 'pyproject.toml')
0 files changed, 0 insertions, 0 deletions