refactor: fix linting issues - remove unused kwargs, fix unused variable, and make method public

This commit is contained in:
Lukas Greve
2026-03-26 19:26:31 +01:00
parent 050f41787b
commit 3eb4c75392
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -126,7 +126,7 @@ class SemanticValidator:
issues = []
try:
ks_version_str = self._get_ksversion(version)
ks_version_str = self.get_ksversion(version)
if ks_version_str:
ks_version = makeVersion(ks_version_str)
else:
@@ -142,7 +142,7 @@ class SemanticValidator:
return issues
def _get_ksversion(self, version: str) -> Optional[str]:
def get_ksversion(self, version: str) -> Optional[str]:
"""Map Phyllome OS version to pykickstart version string."""
if version == 'rawhide':
return None