chore(lint): remove unused imports flagged by ruff
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,5 @@
|
|||||||
"""Ansible --list inventory generation from DB records."""
|
"""Ansible --list inventory generation from DB records."""
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
from typing import TYPE_CHECKING
|
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
|
||||||
from steward.models.ansible_inventory import AnsibleTarget
|
|
||||||
|
|
||||||
|
|
||||||
def generate_inventory(targets: list) -> dict:
|
def generate_inventory(targets: list) -> dict:
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
"""Unit tests for GIT_ASKPASS injection in git_pull()."""
|
"""Unit tests for GIT_ASKPASS injection in git_pull()."""
|
||||||
import asyncio
|
|
||||||
import os
|
import os
|
||||||
import stat
|
import stat
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
Uses SimpleNamespace duck-typed objects so no DB or SQLAlchemy is required.
|
Uses SimpleNamespace duck-typed objects so no DB or SQLAlchemy is required.
|
||||||
"""
|
"""
|
||||||
from types import SimpleNamespace
|
from types import SimpleNamespace
|
||||||
import pytest
|
|
||||||
from steward.ansible.inventory_gen import generate_inventory
|
from steward.ansible.inventory_gen import generate_inventory
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user