Skip to content

Commit a64cd89

Browse files
committed
style and quality
1 parent df8320e commit a64cd89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/nlp/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _create_builder_config(self, builder_config=None, **config_kwargs):
164164
)
165165
if not builder_config:
166166
builder_config = BuilderConfig()
167-
if hasattr(self, 'VERSION') and self.VERSION:
167+
if hasattr(self, "VERSION") and self.VERSION:
168168
builder_config.version = self.VERSION
169169

170170
for key, value in config_kwargs.items():

src/nlp/load.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,10 @@ def load_dataset(
401401
402402
This method does the following under the hood:
403403
1. Download and import in the library the dataset loading script from ``path`` if it's not already cached inside the library.
404-
404+
405405
Processing scripts are small python scripts that define the citation, info and format of the dataset,
406406
contain the URL to the original data files and the code to load examples from the original data files.
407-
407+
408408
You can find some of the scripts here: https://github.com/huggingface/nlp/datasets
409409
and easily upload yours to share them using the CLI ``nlp-cli``.
410410

0 commit comments

Comments
 (0)