Skip to content

Correct pylint for structured datasets #1647

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
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
5 changes: 2 additions & 3 deletions tensorflow_datasets/structured/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Structured datasets."""

# pylint: disable=c0103

from tensorflow_datasets.structured.amazon_us_reviews import AmazonUSReviews
from tensorflow_datasets.structured.forest_fires import ForestFires
from tensorflow_datasets.structured.german_credit_numeric import GermanCreditNumeric
from tensorflow_datasets.structured.higgs import Higgs
from tensorflow_datasets.structured.iris import Iris
from tensorflow_datasets.structured.rock_you import RockYou
Expand Down
7 changes: 2 additions & 5 deletions tensorflow_datasets/structured/amazon_us_reviews.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Lint as: python3
"""Amazon Customer Reviews Dataset --- US REVIEWS DATASET."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

import collections
import csv
Expand Down Expand Up @@ -114,7 +110,8 @@ class AmazonUSReviews(tfds.core.GeneratorBasedBuilder):
name=config_name,
description="A dataset consisting of reviews of Amazon " +
config_name +
" products in US marketplace. Each product has its own version as specified with it.",
" products in US marketplace. Each product has"
" its own version as specified with it.",
version="0.1.0",
data=config_name,
) for config_name in _DATA_OPTIONS
Expand Down