Skip to content
Snippets Groups Projects
Commit 21078097 authored by DAVID Axel's avatar DAVID Axel
Browse files

ci: :green_heart: Fix ruff errors

parent b24c4ef4
No related branches found
No related tags found
No related merge requests found
Pipeline #15240 passed
......@@ -44,7 +44,7 @@ class ExcludedPathTypeError(TypeError):
super().__init__(
"The excluded route collection contains something else than a string."
+ f" The path '{path}' is bad. Please give a collection of string."
+ f" Complete collection: '{excluded}'"
+ f" Complete collection: '{excluded}'",
)
......
......@@ -40,7 +40,7 @@ class ElementVersionTypeError(TypeError):
cls_name = type(element).__qualname__
super().__init__(
f"The {element_type} is '{cls_name}'."
+ " Please give an integer greater or equal to zero."
+ " Please give an integer greater or equal to zero.",
)
......@@ -77,7 +77,7 @@ class InvalidElementValueError(ValueError):
def __init__(self, element: int, element_type: Element) -> None:
super().__init__(
f"The {element_type} is equal to '{element}'."
+ " Please give an integer greater or equal to zero."
+ " Please give an integer greater or equal to zero.",
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment