Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ClemDoum committed May 13, 2019
1 parent 2215f52 commit 9462eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snips_nlu/data_augmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def get_entities_iterators(intent_entities, language,
for entity_name, entity in iteritems(intent_entities):
utterance_values = random_state.permutation(sorted(entity[UTTERANCES]))
if add_builtin_entities_examples and is_builtin_entity(entity_name):
entity_examples = get_builtin_entity_examples(entity_name,
language)
entity_examples = get_builtin_entity_examples(
entity_name, language)
# Builtin entity examples must be kept first in the iterator to
# ensure that they are used when augmenting data
iterator_values = entity_examples + list(utterance_values)
Expand Down

0 comments on commit 9462eca

Please sign in to comment.