diff options
Diffstat (limited to 'tools/lint/py2.yml')
-rw-r--r-- | tools/lint/py2.yml | 57 |
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 |