diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2024-02-26 14:26:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 22:26:01 +0000 |
commit | 48088ee24a53e40ac4aec212c3f763c2423faa89 (patch) | |
tree | 5513c6fd3c70c4bf9e9e2d2b56d9a84c0dfe52b7 /share | |
parent | c7df258ca64809a1cfa7f1d5324e7a713b80fc99 (diff) | |
download | spack-48088ee24a53e40ac4aec212c3f763c2423faa89.tar.gz spack-48088ee24a53e40ac4aec212c3f763c2423faa89.tar.bz2 spack-48088ee24a53e40ac4aec212c3f763c2423faa89.tar.xz spack-48088ee24a53e40ac4aec212c3f763c2423faa89.zip |
refactor: add type annotations and refactor solver conditions (#42081)
Refactoring `SpackSolverSetup` is a bit easier with type annotations, so I started
adding some. This adds annotations for the (many) instance variables on
`SpackSolverSetup` as well as a few other places.
This also refactors `condition()` to reduce redundancy and to allow
`_get_condition_id()` to be called independently of the larger condition
function.
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions