Skip to content

noqa to silence flake8 on Python 3 only syntax #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 21, 2018
Merged

noqa to silence flake8 on Python 3 only syntax #241

merged 3 commits into from
Jan 21, 2018

Conversation

cclauss
Copy link
Member

@cclauss cclauss commented Jan 20, 2018

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