Skip to content

Commit

Permalink
appease mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Richey authored and Alex Richey committed Dec 2, 2024
1 parent 1321358 commit 4d09d6b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions dcpy/lifecycle/package/abstract_doc.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
from pathlib import Path
from pydantic import BaseModel
from typing import Any

from dcpy.models.design import elements as de
from dcpy.models.product.dataset.metadata_v2 import Dataset, DatasetColumn
from dcpy.models.product.dataset.metadata_v2 import Dataset
from dcpy.models.product.metadata import OrgMetadata
from dcpy.models.product.artifacts import Artifact, ComponentDefinition
from dcpy.utils.logging import logger
Expand Down
2 changes: 1 addition & 1 deletion dcpy/lifecycle/package/oti_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from openpyxl.cell.text import InlineFont # type: ignore
from openpyxl.cell.rich_text import TextBlock, CellRichText # type: ignore
from openpyxl.drawing.image import Image # type: ignore
from openpyxl.worksheet.dimensions import ColumnDimension, DimensionHolder
from openpyxl.worksheet.dimensions import ColumnDimension, DimensionHolder # type: ignore
from openpyxl.utils import get_column_letter
from pathlib import Path
import typer
Expand Down
1 change: 0 additions & 1 deletion dcpy/models/product/artifacts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from pathlib import Path
from typing import Literal

from .dataset.metadata_v2 import CustomizableBase
from dcpy.models.base import TemplatedYamlReader
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from pathlib import Path
import pytest
from unittest import TestCase
from dcpy.test.lifecycle.package.conftest import (
PACKAGE_RESOURCES_PATH,
TEST_ASSEMBLED_PACKAGE_AND_METADATA_PATH,
Expand Down
1 change: 0 additions & 1 deletion products/template/build_scripts/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from dcpy.lifecycle.package import oti_xlsx
from dcpy.connectors.edm import product_metadata, publishing
from dcpy.utils.logging import logger
from dcpy.models.product.dataset import metadata_v2 as md
from dcpy.models.product.metadata import OrgMetadata

from . import PRODUCT_PATH, OUTPUT_DIR, PG_CLIENT, BUILD_KEY
Expand Down

0 comments on commit 4d09d6b

Please sign in to comment.