Skip to content

Commit

Permalink
refactor: rename collection module to collection_reader
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulFarault committed Nov 7, 2024
1 parent 65ec5be commit 41349da
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion tdp/core/collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from pathlib import Path
from typing import TYPE_CHECKING, Optional

from tdp.core.collection import CollectionReader
from tdp.core.collection_reader import CollectionReader
from tdp.core.entities.hostable_entity_name import ServiceComponentName
from tdp.core.entities.operation import Operations, Playbook
from tdp.core.inventory_reader import InventoryReader
Expand Down
2 changes: 1 addition & 1 deletion test_dag_order/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import yaml

from tdp.core.collection import (
from tdp.core.collection_reader import (
CollectionReader,
MissingMandatoryDirectoryError,
PathDoesNotExistsError,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from pydantic import ValidationError

Check failure on line 7 in tests/unit/core/test_collection_reader.py

View workflow job for this annotation

GitHub Actions / Check linting with Ruff

Ruff (F401)

tests/unit/core/test_collection_reader.py:7:22: F401 `pydantic.ValidationError` imported but unused

from tdp.core.collection import (
from tdp.core.collection_reader import (
CollectionReader,
MissingMandatoryDirectoryError,
PathDoesNotExistsError,
Expand Down

0 comments on commit 41349da

Please sign in to comment.