swh-lister/swh
Antoine Lambert d20803ddae opam: Ensure CalledProcessError is raised when an opam command failed
Use subprocess.run instead of subprocess.call and subprocess.Popen to
call opam commands and set check parameter to True in order to raise
CalledProcessError exception when an opam command failed.

This should help spotting issues with the opam lister.

Related to swh/infra/sysadm-environment#4971.
2023-06-29 14:02:00 +00:00
..
lister opam: Ensure CalledProcessError is raised when an opam command failed 2023-06-29 14:02:00 +00:00
__init__.py Pin mypy and drop type annotations which makes mypy unhappy 2021-12-16 16:10:20 +01:00