fix: resolve CI linting failures
Some checks failed
CI / test (push) Has been cancelled
CI / build (push) Has been cancelled

- Removed unused imports (pathlib.Path, Schema, EnvVar, Optional)
- Fixed f-strings without placeholders in generator.py and validators.py
- Removed unused variables in generator.py
- Updated CI workflow to use correct project name (envschema)
This commit is contained in:
2026-03-22 15:19:37 +00:00
parent c74330f33d
commit 769dceca62

View File

@@ -41,7 +41,7 @@ class IntegerValidator:
return True, None
except ValueError:
return False, ValidationError(
f"Invalid integer value",
"Invalid integer value",
value=value
)
@@ -62,7 +62,7 @@ class BooleanValidator:
if value_lower in BooleanValidator.FALSE_VALUES:
return True, None
return False, ValidationError(
f"Invalid boolean value (expected: true, false, 1, 0, yes, no, on, off)",
"Invalid boolean value (expected: true, false, 1, 0, yes, no, on, off)",
value=value
)
@@ -77,7 +77,7 @@ class ListValidator:
if "," in value:
return True, None
return False, ValidationError(
f"Invalid list value (expected comma-separated values)",
"Invalid list value (expected comma-separated values)",
value=value
)