Skip to content

Commit

Permalink
Undo lint automatic fixes (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray authored and smokestacklightnin committed Aug 28, 2024
1 parent eadf91f commit 19cee71
Show file tree
Hide file tree
Showing 6 changed files with 252 additions and 275 deletions.
11 changes: 9 additions & 2 deletions tfx/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
branch HEAD.
- For the release, we use a range of version, which is also used as a default.
"""
from __future__ import annotations

import os

Expand Down Expand Up @@ -250,8 +251,14 @@ def make_extra_packages_examples():
]


def make_extra_packages_docs():
# Packages required for building docs as HTML
def make_extra_packages_docs() -> list[str]:
"""Get a list of packages required for building docs as HTML.
Returns
-------
list[str]
List of packages required for building docs
"""
return [
"mkdocs",
"mkdocstrings[python]",
Expand Down
21 changes: 14 additions & 7 deletions tfx/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,23 @@
"""

from tfx.types.artifact import Artifact
from tfx.types.channel import BaseChannel
from tfx.types.channel import Channel
from tfx.types.channel import ExecPropertyTypes # noqa: F401
from tfx.types.channel import OutputChannel # noqa: F401
from tfx.types.channel import Property # Type alias. # noqa: F401
from tfx.types.component_spec import ComponentSpec # noqa: F401
from tfx.types.value_artifact import ValueArtifact # noqa: F401
from tfx.types.channel import (
BaseChannel,
Channel,
ExecPropertyTypes,
OutputChannel,
Property,
)
from tfx.types.component_spec import ComponentSpec
from tfx.types.value_artifact import ValueArtifact

__all__ = [
"Artifact",
"BaseChannel",
"Channel",
"ComponentSpec",
"ExecPropertyTypes",
"OutputChannel",
"Property",
"ValueArtifact",
]
Loading

0 comments on commit 19cee71

Please sign in to comment.