style: ruff cleanup — split multi-import lines + remove unused imports #22
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Validate a Molecule AI org template repo."""
|
||||
import os, sys, yaml
|
||||
import os
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
# Support custom YAML tags used by org templates. Two shapes:
|
||||
#
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Validate a Molecule AI plugin repo."""
|
||||
import os, sys, yaml
|
||||
import os
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
errors = []
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ import tempfile
|
||||
import textwrap
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
SCRIPT = Path(__file__).resolve().parent.parent / "bin" / "runners-restart-safe.sh"
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ test via _reset_validator_state().
|
||||
from __future__ import annotations
|
||||
|
||||
import importlib.util
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Validate a Molecule AI org template repo."""
|
||||
import os, sys, yaml
|
||||
import os
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
# Support !include and other custom YAML tags used by org templates.
|
||||
# These resolve at platform load time, not at validation time — we just
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Validate a Molecule AI plugin repo."""
|
||||
import os, sys, yaml
|
||||
import os
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
errors = []
|
||||
|
||||
|
||||
@@ -6,7 +6,9 @@ Dockerfile + config.yaml + requirements.txt against the canonical
|
||||
contract. Replaces the existing soft-warnings-only validator at
|
||||
molecule-ci/scripts/validate-workspace-template.py.
|
||||
"""
|
||||
import os, re, sys
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
ERRORS: list[str] = []
|
||||
|
||||
Reference in New Issue
Block a user