fix: resolve type hint issues and import dependencies (#1176)

# What does this PR do?

- Fixed type hinting and missing imports across multiple modules.
- Improved compatibility by using `TYPE_CHECKING` for conditional
imports.
- Updated `pyproject.toml` to enforce stricter linting.

Signed-off-by: Sébastien Han <seb@redhat.com>

Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2025-02-25 20:06:47 +01:00 committed by GitHub
parent 1a044ef894
commit c223b1862b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 14 additions and 5 deletions

View file

@ -129,7 +129,6 @@ ignore = [
"E721",
"E741",
"F405",
"F821",
"F841",
"C408", # ignored because we like the dict keyword argument syntax
"E302",