Python ruff fixes

* Python: Clean up imports.
* Python: Clean up error handling example.
* Python: Remove unused local variables
* Python: Avoid comparing against True/False.
* Python: Remove unused name variable.
* Python: Reuse class definition type variable.
* Python: Fix more unused imports
* Black fixes
This commit is contained in:
Kristian Bendiksen
2025-05-16 15:46:45 +02:00
committed by GitHub
parent dc4cd33c6e
commit 7899736f05
41 changed files with 64 additions and 106 deletions
-1
View File
@@ -31,7 +31,6 @@ from .grpc_retry_interceptor import RetryOnRpcErrorClientInterceptor
from .generated.generated_classes import CommandRouter
from typing import List, Optional, Tuple
from typing_extensions import Self
from pathlib import Path