mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-19 07:13:06 +00:00
fix(lint): resolve Ruff E701/E702 and exclude build artifacts
- Fix E701 by expanding single-line class and loop statements into blocks - Fix E702 by splitting semicolon-separated statements - Exclude build/, dist/, venv, and egg-info from Ruff linting - Apply fixes consistently to source and generated files No runtime behavior changes; lint-only cleanup to stabilize CI. https://chatgpt.com/share/6942c9e3-80fc-800f-b471-5e1ee567f8fe
This commit is contained in:
@@ -8,7 +8,8 @@ from ansible.errors import AnsibleUndefinedVariable
|
||||
try:
|
||||
from ansible.utils.unsafe_proxy import AnsibleUndefined
|
||||
except ImportError:
|
||||
class AnsibleUndefined: pass
|
||||
class AnsibleUndefined:
|
||||
pass
|
||||
|
||||
class AppConfigKeyError(AnsibleFilterError, ValueError):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user