diff --git a/tensorflow_datasets/structured/__init__.py b/tensorflow_datasets/structured/__init__.py index 758eff47306..baee60ecac7 100644 --- a/tensorflow_datasets/structured/__init__.py +++ b/tensorflow_datasets/structured/__init__.py @@ -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 diff --git a/tensorflow_datasets/structured/amazon_us_reviews.py b/tensorflow_datasets/structured/amazon_us_reviews.py index b16ed1e2c80..98d905165d7 100644 --- a/tensorflow_datasets/structured/amazon_us_reviews.py +++ b/tensorflow_datasets/structured/amazon_us_reviews.py @@ -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 @@ -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