mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-28 19:38:43 +02:00
Adds lint exclusions already ignored by the code
Added flake8 excludes to rules that are already ignored by the current code to avoid validation issues with code that has already been approved. Added pylint disable to line with lint offense already accepted. Signed-off-by: Italo Maia <italo.maia@gmail.com>
This commit is contained in:
parent
10ad739746
commit
c6b3d497d6
@ -1299,7 +1299,8 @@ class ServiceDependencyCondition(Enum):
|
|||||||
try:
|
try:
|
||||||
return docker_to_podman_cond[value]
|
return docker_to_podman_cond[value]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise ValueError(f"Value '{value}' is not a valid condition for a service dependency") # pylint: disable=raise-missing-from
|
# pylint: disable-next=raise-missing-from
|
||||||
|
raise ValueError(f"Value '{value}' is not a valid condition for a service dependency")
|
||||||
|
|
||||||
|
|
||||||
class ServiceDependency:
|
class ServiceDependency:
|
||||||
|
Loading…
Reference in New Issue
Block a user