fix: resolve CI linting failures
- 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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user