summaryrefslogtreecommitdiffstats
path: root/tools/lint/py2.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 14:29:10 +0000
commit2aa4a82499d4becd2284cdb482213d541b8804dd (patch)
treeb80bf8bf13c3766139fbacc530efd0dd9d54394c /tools/lint/py2.yml
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tools/lint/py2.yml')
-rw-r--r--tools/lint/py2.yml57
1 files changed, 57 insertions, 0 deletions
diff --git a/tools/lint/py2.yml b/tools/lint/py2.yml
new file mode 100644
index 0000000000..f435e39d1e
--- /dev/null
+++ b/tools/lint/py2.yml
@@ -0,0 +1,57 @@
+---
+py2:
+ description: Python 2 compatibility check
+ include: ['.']
+ exclude:
+ - build
+ - dom
+ - editor
+ - gfx
+ - ipc
+ - js/src
+ - layout
+ - modules
+ - mozglue
+ - netwerk
+ - nsprpub
+ - other-licenses
+ - python/mozbuild/mozbuild/fork_interpose.py
+ - security
+ - servo
+ - taskcluster/docker/funsize-update-generator
+ - taskcluster/docker/visual-metrics
+ - testing/condprofile
+ - testing/gtest
+ - testing/mochitest
+ - testing/mozharness
+ - testing/raptor
+ - testing/tools
+ - testing/web-platform
+ - toolkit
+ - tools/update-packaging
+ - xpcom
+
+ # These paths are intentionally excluded (Python 3 only)
+ - config/create_rc.py
+ - config/create_res.py
+ - config/printconfigsetting.py
+ - python/mozbuild/mozbuild/action/unify_symbols.py
+ - python/mozbuild/mozbuild/action/unify_tests.py
+ - python/mozbuild/mozbuild/html_build_viewer.py
+ - python/mozbuild/mozpack/unify.py
+ - python/mozbuild/mozpack/test/test_unify.py
+ - python/mozlint
+ - python/mozperftest
+ - python/mozrelease/mozrelease/partner_repack.py
+ - taskcluster/test
+ - testing/performance
+ - tools/crashreporter/system-symbols/win/symsrv-fetch.py
+ - tools/github-sync
+ - tools/lint
+ - tools/tryselect
+ extensions: ['py']
+ support-files:
+ - 'tools/lint/python/*compat*'
+ type: external
+ payload: python.compat:lintpy2
+ setup: python.compat:setuppy2