mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-20 07:43:20 +00:00
lint: remove unused variables in module_utils and tests
https://chatgpt.com/share/6942c80f-c904-800f-8793-f804da1aa891
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user