Refactor pyproject.toml and enhance DockerComposeManager with type hints

- Updated dependencies and added Ruff configuration for linting in pyproject.toml.
- Improved type hinting in DockerComposeManager methods for better clarity.
- Created an empty __init__.py file in tests directory.
This commit is contained in:
2025-06-18 03:49:26 +02:00
parent 63160d682f
commit be43c468a4
4 changed files with 69 additions and 11 deletions

View File

@ -1,10 +1,15 @@
from pathlib import Path
from __future__ import annotations
from typing import TYPE_CHECKING
import pytest
import yaml
from compose import DockerComposeManager
if TYPE_CHECKING:
from pathlib import Path
def test_create_and_save_service(tmp_path: Path) -> None:
compose_file: Path = tmp_path / "docker-compose.yml"