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:
2025-12-17 16:18:53 +01:00
parent ee3e86684a
commit ec284cc765
5 changed files with 19 additions and 5 deletions

View File

@@ -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):
"""