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 c136fc7f20
commit c74330f33d

View File

@@ -25,13 +25,10 @@ def generate_env_example(schema: Schema, include_descriptions: bool = True) -> s
lines.append(f"# {var.description}")
if var.required:
lines.append(f"# REQUIRED")
lines.append("# REQUIRED")
elif var.default is not None:
lines.append(f"# Default: {var.default}")
default_part = f"# {var.default}" if var.default else ""
type_part = f"[{var.type.value}]"
if var.required:
lines.append(f"{var.name}=")
elif var.default is not None: