summaryrefslogtreecommitdiffstats
path: root/tools/lint/flake8.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /tools/lint/flake8.yml
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/lint/flake8.yml')
-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