Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Oct 16, 2024
1 parent 4525700 commit aea4660
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,3 @@ cython_debug/

# Bazel build files
bazel-*

22 changes: 11 additions & 11 deletions ml_metadata/proto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,29 @@
"""ML Metadata proto module."""

# Connection configurations for different deployment.
from ml_metadata.proto.metadata_store_pb2 import (
ConnectionConfig,
MetadataStoreClientConfig,
from ml_metadata.proto import (
metadata_store_service_pb2,
metadata_store_service_pb2_grpc,
)

# ML Metadata core data model concepts.
from ml_metadata.proto.metadata_store_pb2 import (
Artifact,
Execution,
ArtifactType,
Association,
Attribution,
ConnectionConfig,
Context,
ContextType,
Event,
Attribution,
Association,
ParentContext,
ArtifactType,
Execution,
ExecutionType,
ContextType,
FakeDatabaseConfig,
MetadataStoreClientConfig,
MySQLDatabaseConfig,
ParentContext,
SqliteMetadataSourceConfig,
)
from ml_metadata.proto import metadata_store_service_pb2
from ml_metadata.proto import metadata_store_service_pb2_grpc

del metadata_store_service_pb2
del metadata_store_service_pb2_grpc
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def run(self):
_LONG_DESCRIPTION = fp.read()

# Get documentation build requirements
with open("requirements-docs.txt", "r") as fp:
with open("requirements-docs.txt") as fp:
docs_reqs = fp.readlines()
docs_reqs = [req.replace("\n", "") for req in docs_reqs]

Expand Down

0 comments on commit aea4660

Please sign in to comment.