noqa to silence flake8 on Python 3 only syntax

This commit is contained in:
cclauss 2018-01-20 12:31:12 +01:00 committed by GitHub
parent bfd52dfa42
commit b3873be7b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ class TrieNode:
for word in words: for word in words:
self.insert(word) 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 Inserts a word into the Trie
:param word: word to be inserted :param word: word to be inserted