Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/firmware-selector-openwrt-org.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-08-06 11:46:10 +0300
committerPetr Štetiar <ynezz@true.cz>2020-08-06 15:57:56 +0300
commitef2dbc64851ce9c5048504041f6b391a597b8fdb (patch)
tree4139196d68f03596a18b5b798b20cccff1632868 /.flake8
parent19222824569794650e0aad58829fd4e0e5566af9 (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--.flake85
1 files changed, 5 insertions, 0 deletions
diff --git a/.flake8 b/.flake8
new file mode 100644
index 0000000..bd71867
--- /dev/null
+++ b/.flake8
@@ -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