From b3873be7b55f5672fc0f9f6496358b4f802358a6 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 20 Jan 2018 12:31:12 +0100 Subject: [PATCH] noqa to silence flake8 on Python 3 only syntax --- data_structures/Trie/Trie.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/Trie/Trie.py b/data_structures/Trie/Trie.py index 7c886144d..b60afd29d 100644 --- a/data_structures/Trie/Trie.py +++ b/data_structures/Trie/Trie.py @@ -21,7 +21,7 @@ class TrieNode: for word in words: self.insert(word) - def insert(self, word: str): + def insert(self, word: str): # noqa: F821 This syntax is Python 3 only """ Inserts a word into the Trie :param word: word to be inserted