mirror of
				https://github.com/Eledio/superfaktura-client.git
				synced 2025-11-01 00:18:25 +01:00 
			
		
		
		
	data_types: fix module by pylint hints
This commit is contained in:
		| @@ -60,8 +60,10 @@ class Date: | |||||||
|         """ |         """ | ||||||
|         try: |         try: | ||||||
|             return datetime.strptime(date_str, "%Y-%m-%d") |             return datetime.strptime(date_str, "%Y-%m-%d") | ||||||
|         except ValueError: |         except ValueError as exc: | ||||||
|             raise ValueError(f"Date must be in format YYYY-MM-DD, got: {date_str}") |             raise ValueError( | ||||||
|  |                 f"Date must be in format YYYY-MM-DD, got: {date_str}" | ||||||
|  |             ) from exc | ||||||
|  |  | ||||||
|     def __str__(self) -> str: |     def __str__(self) -> str: | ||||||
|         """ |         """ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user