summaryrefslogtreecommitdiffstats
path: root/tools/lint/isort.yml
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lint/isort.yml')
-rw-r--r--tools/lint/isort.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/lint/isort.yml b/tools/lint/isort.yml
new file mode 100644
index 0000000000..d15948f65e
--- /dev/null
+++ b/tools/lint/isort.yml
@@ -0,0 +1,13 @@
+---
+isort:
+ description: Sort python imports
+ # Excludes should be added to topsrcdir/.flake8.
+ exclude: []
+ extensions: ['configure', 'py']
+ support-files:
+ - '**/.flake8'
+ - '**/.isort.cfg'
+ - 'tools/lint/python/isort*'
+ type: external
+ payload: python.isort:lint
+ setup: python.isort:setup