Skip to content
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

LGTM analysis is failing #781

Open
AnupKumarPanwar opened this issue May 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@AnupKumarPanwar
Copy link
Member

commented May 4, 2019

Cause:
The logs imply that the analysis is failing due to improper initialization of the variable on_the_way_back in the following file.
/graphs/Directed and Undirected (Weighted) Graph.py

Logs:

[2019-05-03 14:57:50] [build] 3.7.7 (mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.1) CPython 3.6.7 on Linux
[2019-05-03 14:57:50] [build] ++ python3 -m flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
[2019-05-03 14:57:57] [build] ./graphs/Directed and Undirected (Weighted) Graph.py:162:100: F821 undefined name 'on_the_way_back'
[2019-05-03 14:57:57] [build] 					if visited.count(__[1]) > 0 and __[1] != parent and indirect_parents.count(__[1]) > 0 and not on_the_way_back:
[2019-05-03 14:57:57] [build]                                                                                                    ^
[2019-05-03 14:57:57] [build] ./graphs/Directed and Undirected (Weighted) Graph.py:209:100: F821 undefined name 'on_the_way_back'
[2019-05-03 14:57:57] [build] 					if visited.count(__[1]) > 0 and __[1] != parent and indirect_parents.count(__[1]) > 0 and not on_the_way_back:
[2019-05-03 14:57:57] [build]                                                                                                    ^
[2019-05-03 14:57:57] [build] ./graphs/Directed and Undirected (Weighted) Graph.py:377:100: F821 undefined name 'on_the_way_back'
[2019-05-03 14:57:57] [build] 					if visited.count(__[1]) > 0 and __[1] != parent and indirect_parents.count(__[1]) > 0 and not on_the_way_back:
[2019-05-03 14:57:57] [build]                                                                                                    ^
[2019-05-03 14:57:57] [build] ./graphs/Directed and Undirected (Weighted) Graph.py:424:100: F821 undefined name 'on_the_way_back'
[2019-05-03 14:57:57] [build] 					if visited.count(__[1]) > 0 and __[1] != parent and indirect_parents.count(__[1]) > 0 and not on_the_way_back:
[2019-05-03 14:57:57] [build]                                                                                                    ^
[2019-05-03 14:57:57] [build] 4     F821 undefined name 'on_the_way_back'
[2019-05-03 14:57:57] [build] 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.