Skip to content

Conversation

@yeoldegrove
Copy link
Contributor

@yeoldegrove yeoldegrove commented Sep 9, 2025

What this PR does / why we need it:

Refactor to work with gardenlinux 0.10.0.

F401 - Unused imports: Removed atexit, base64, re, time, json, and pathlib.Path
F403/F405 - Star imports: Replaced all from module import * with explicit imports:
glrd.util: Now imports specific symbols like DEFAULTS, ERROR_CODES, etc.
python_gardenlinux_lib: Now imports specific functions like parse_flavors_commit, get_s3_artifacts
F841 - Unused variables: Fixed unused variables like minor, micro, e, merged_releases, formatted_change
F541 - F-strings without placeholders: Converted f-strings to regular strings where no placeholders were used
F811 - Redefinition: Fixed variable redefinitions
F821 - Undefined names: Fixed test cases where result was being used but assigned to _
F824 - Unused global: Commented out unused global variable
E303 - Extra blank lines: Fixed excessive blank lines
E501 - line too long
@yeoldegrove yeoldegrove self-assigned this Sep 9, 2025
@yeoldegrove yeoldegrove force-pushed the feat/bump_python_gardenlinux_lib branch 2 times, most recently from e5121c4 to f911488 Compare September 9, 2025 13:42
@yeoldegrove yeoldegrove force-pushed the feat/bump_python_gardenlinux_lib branch from f911488 to 28a7960 Compare September 23, 2025 11:37
@yeoldegrove yeoldegrove linked an issue Sep 23, 2025 that may be closed by this pull request
@yeoldegrove yeoldegrove force-pushed the feat/bump_python_gardenlinux_lib branch from 28a7960 to 16cd1c4 Compare October 8, 2025 10:35
@yeoldegrove yeoldegrove changed the title refactor to work with gardenlinux 0.9.1 refactor to work with gardenlinux 0.10.0 Oct 8, 2025
@yeoldegrove yeoldegrove force-pushed the feat/bump_python_gardenlinux_lib branch from 16cd1c4 to 4e3988d Compare October 8, 2025 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactoring of GLRD codebase

2 participants