summaryrefslogtreecommitdiffstats
path: root/tools/lint/flake8.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/lint/flake8.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/lint/flake8.yml b/tools/lint/flake8.yml
new file mode 100644
index 0000000000..11d3193271
--- /dev/null
+++ b/tools/lint/flake8.yml
@@ -0,0 +1,15 @@
+---
+flake8:
+ description: Python linter
+ # Excludes should be added to topsrcdir/.flake8.
+ exclude: []
+ # The configure option is used by the build system
+ extensions: ['configure', 'py']
+ support-files:
+ - '**/.flake8'
+ - 'tools/lint/python/flake8*'
+ # Rules that should result in warnings rather than errors.
+ warning-rules: []
+ type: external
+ payload: python.flake8:lint
+ setup: python.flake8:setup