Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
73 stars 32 forks source link

Refactoring project for pep8 compliance #289

Closed Polsaker closed 3 years ago

pep8speaks commented 3 years ago

Hello @Polsaker! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 784:28: E712 comparison to True should be 'if cond is True:' or 'if cond:' Line 1409:39: E712 comparison to False should be 'if cond is False:' or 'if not cond:' Line 1411:44: E712 comparison to False should be 'if cond is False:' or 'if not cond:' Line 1413:41: E712 comparison to True should be 'if cond is True:' or 'if cond:' Line 1415:44: E712 comparison to True should be 'if cond is True:' or 'if cond:' Line 1867:79: E712 comparison to True should be 'if cond is True:' or 'if cond:' Line 1870:79: E712 comparison to True should be 'if cond is True:' or 'if cond:' Line 1908:92: E712 comparison to True should be 'if cond is True:' or 'if cond:' Line 1911:92: E712 comparison to True should be 'if cond is True:' or 'if cond:'

Line 65:9: E722 do not use bare 'except'

Line 1077:52: E712 comparison to True should be 'if cond is True:' or 'if cond:'

Comment last updated at 2021-01-11 02:15:17 UTC