瀏覽代碼

.flake8: add flake8 config

Shiv Tyagi 2 月之前
父節點
當前提交
ba9d691195
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      .flake8

+ 14 - 0
.flake8

@@ -0,0 +1,14 @@
+[flake8]
+max-line-length = 127
+max-complexity = 10
+exclude =
+    .git,
+    __pycache__,
+    .pytest_cache,
+    *.pyc,
+    .venv,
+    venv,
+    env,
+    base/,
+    redis_data/,
+    .vagrant/