diff options
author | Petr Štetiar <ynezz@true.cz> | 2020-08-06 11:46:10 +0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-08-06 15:57:56 +0300 |
commit | ef2dbc64851ce9c5048504041f6b391a597b8fdb (patch) | |
tree | 4139196d68f03596a18b5b798b20cccff1632868 /.flake8 | |
parent | 19222824569794650e0aad58829fd4e0e5566af9 (diff) |
collect.py: add flake8 code style tool
Refactor the code in order to fix following flake8 errors:
misc/collect.py:55:1: E302 expected 2 blank lines, found 1
misc/collect.py:98:12: E713 test for membership should be 'not in'
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -0,0 +1,5 @@ +[flake8] +ignore = E203, E266, E501, W503 +max-line-length = 88 +max-complexity = 18 +select = B,C,E,F,W,T4,B9 |