summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/black.yml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/tools/lint/black.yml')
-rw-r--r--comm/tools/lint/black.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/comm/tools/lint/black.yml b/comm/tools/lint/black.yml
new file mode 100644
index 0000000000..a3850bc7be
--- /dev/null
+++ b/comm/tools/lint/black.yml
@@ -0,0 +1,16 @@
+---
+black:
+ description: Reformat python
+ include:
+ - comm/
+ extensions:
+ - build
+ - configure
+ - mozbuild
+ - py
+ support-files:
+ - 'tools/lint/python/**'
+ type: external
+ payload: commlint:lint_wrapper
+ wraps: commlint:black_lint
+ setup: python.black:setup