Skip to content

noqa to silence flake8 on Python 3 only syntax #241

Merged
harshildarji merged 3 commits into
TheAlgorithms:masterfrom
cclauss:patch-1
Jan 21, 2018
Merged

noqa to silence flake8 on Python 3 only syntax #241
harshildarji merged 3 commits into
TheAlgorithms:masterfrom
cclauss:patch-1

Conversation

@cclauss

@cclauss cclauss commented Jan 20, 2018

Copy link
Copy Markdown
Member

See: #125 (comment)

flake8 testing of https://github.com/TheAlgorithms/Python on Python 2.7.14

$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics

./data_structures/Trie/Trie.py:15:32: E999 SyntaxError: invalid syntax
    def insert_many(self, words: [str]):
                               ^
./dynamic_programming/fastfibonacci.py:10:16: E999 SyntaxError: invalid syntax
def fibonacci(n: int):
               ^
2     E999 SyntaxError: invalid syntax

@harshildarji harshildarji merged commit 54f6d1f into TheAlgorithms:master Jan 21, 2018
@cclauss cclauss deleted the patch-1 branch January 21, 2018 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants