mirror of
https://github.com/DavidGailleton/42-Piscine_Python.git
synced 2026-03-14 05:06:55 +01:00
FIX: Make 02 flake8 complient
This commit is contained in:
@@ -8,7 +8,7 @@ class GardenError(Exception):
|
||||
|
||||
@override
|
||||
def __str__(self) -> str:
|
||||
return f"Caught a garden error: {self.message}"
|
||||
return f"Caught a garden error: {self.message}"
|
||||
|
||||
|
||||
class PlantError(GardenError):
|
||||
@@ -17,7 +17,7 @@ class PlantError(GardenError):
|
||||
|
||||
@override
|
||||
def __str__(self) -> str:
|
||||
return f"Caught PlantError: {self.message}"
|
||||
return f"Caught PlantError: {self.message}"
|
||||
|
||||
|
||||
class WaterError(GardenError):
|
||||
@@ -26,7 +26,7 @@ class WaterError(GardenError):
|
||||
|
||||
@override
|
||||
def __str__(self) -> str:
|
||||
return f"Caught WaterError: {self.message}"
|
||||
return f"Caught WaterError: {self.message}"
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user