summaryrefslogtreecommitdiffstats
path: root/tools/lint/flake8.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/flake8.yml')
-rw-r--r--tools/lint/flake8.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/lint/flake8.yml b/tools/lint/flake8.yml
new file mode 100644
index 0000000000..aff6449cec
--- /dev/null
+++ b/tools/lint/flake8.yml
@@ -0,0 +1,13 @@
+---
+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*'
+ type: external
+ payload: python.flake8:lint
+ setup: python.flake8:setup