lint: remove unused variables in module_utils and tests

https://chatgpt.com/share/6942c80f-c904-800f-8793-f804da1aa891
This commit is contained in:
2025-12-17 16:10:58 +01:00
parent 9f76946735
commit ee3e86684a
7 changed files with 1 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ class TestDockerRoleServicesConfiguration(unittest.TestCase):
try:
config = yaml.safe_load(cfg_file.read_text("utf-8")) or {}
main_file = role_path / "vars" / "main.yml"
main = yaml.safe_load(main_file.read_text("utf-8")) or {}
yaml.safe_load(main_file.read_text("utf-8")) or {}
except yaml.YAMLError as e:
errors.append(f"{role_path.name}: YAML parse error: {e}")
continue