aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vscode/settings.json11
-rw-r--r--setup.cfg4
2 files changed, 14 insertions, 1 deletions
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 57f2286da..969dd1de0 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -12,5 +12,14 @@
"*_test.py"
],
"python.testing.pytestEnabled": false,
- "python.testing.unittestEnabled": true
+ "python.testing.unittestEnabled": true,
+ "flake8.args": [
+ "--ignore=E115,E265,W503",
+ "--max-line-length=100"
+ ],
+ "flake8.ignorePatterns": [
+ "rc_*.py",
+ "*_rc.py",
+ "ui_*.py",
+ ]
}
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 000000000..8a5c9d69a
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,4 @@
+[flake8]
+ignore = E115,E265,W503
+max-line-length = 100
+exclude = rc_*.py,*_rc.py,ui_*.py