Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Resolve the issue: prefer single quote strings #301

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions model_card_toolkit/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@

_TEST_EXTRA_DEPS = ['absl', 'isort', 'pre-commit', 'pylint', 'pytest', 'yapf']

TENSORFLOW_EXTRA_IMPORT_ERROR_MSG = """
TENSORFLOW_EXTRA_IMPORT_ERROR_MSG = '''
This functionaliy requires `tensorflow` extra dependencies but they were not
found in your environment. You can install them with:
```
pip install model-card-toolkit[tensorflow]
```
"""
'''


def _make_deps_list(package_names: List[str]) -> List[str]:
Expand Down
4 changes: 2 additions & 2 deletions model_card_toolkit/proto/model_card.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ message Owner {
optional string contact = 2;
}

// The information about verions of a model.
// The information about version of a model.
// If there are multiple versions of the model, or there may be in the future,
// it’s useful for your audience to know which version of the model is discussed
// in the Model Card. If there are previous versions of this model, briefly
Expand Down Expand Up @@ -177,7 +177,7 @@ message ConfidenceInterval {

// The details of the performance metric.
message PerformanceMetric {
// TODO(b/179415408): revist the design the of message
// TODO(b/179415408): revisit the design the of message
// The following fields are EXPERIMENTAL and introduced for migration purpose.
// For proto users, please do not rely on the fields.

Expand Down
4 changes: 2 additions & 2 deletions model_card_toolkit/tfx/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
except ImportError:
ModelCardGenerator = None
logging.info(
"""
'''
The ModelCardGenerator component and its dependencies have been moved to
the TFX Addons project (https://github.com/tensorflow/tfx-addons).

Expand All @@ -33,5 +33,5 @@
```
$ pip install tfx-addons[model_card_generator]
```
"""
'''
)
Loading