asdf2014 / algorithm

Team up to solve problems on LeetCode together
https://yuzhouwan.com/posts/666/
Apache License 2.0
217 stars 101 forks source link

solve 7 8 9 #22

Closed GinRyan closed 5 years ago

pep8speaks commented 5 years ago

Hello @GinRyan! Thanks for opening this PR.

[Line 16:101](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L16): E501 line too long (105 > 100 characters) [Line 47:38](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L47): W291 trailing whitespace [Line 86:1](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L86): W293 blank line contains whitespace [Line 87:9](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L87): E303 too many blank lines (2) [Line 95:1](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L95): W293 blank line contains whitespace [Line 96:25](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L96): E203 whitespace before ':' [Line 97:16](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L97): E111 indentation is not a multiple of four [Line 97:64](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L97): E272 multiple spaces before keyword [Line 97:101](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L97): E501 line too long (114 > 100 characters) [Line 97:113](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L97): E203 whitespace before ':' [Line 99:21](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L99): E117 over-indented [Line 102:15](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L102): E271 multiple spaces after keyword [Line 102:71](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L102): E203 whitespace before ':' [Line 103:33](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L103): E225 missing whitespace around operator [Line 105:1](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L105): W293 blank line contains whitespace [Line 107:25](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L107): E271 multiple spaces after keyword [Line 107:101](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/8_string_to_integer_atoi.py#L107): E501 line too long (105 > 100 characters)

[Line 37:1](https://github.com/asdf2014/algorithm/blob/fa713bdb2ecc4f630fa72bb04d85f1cfa3b20af7/Codes/GinRyan/LeetCode/Python 3 Solves/9_palindrome_number.py#L37): E302 expected 2 blank lines, found 0

Do see the Hitchhiker's guide to code style