Bug 1624429 - Add .idl and .py files to file-perm checks. r=darktrojan
authorRob Lemley <rob@thunderbird.net>
Mon, 13 Apr 2020 21:43:45 -0400
changeset 38810 eda2c34c8fd1f7ae0558ceb0e5adfdbb258f01b2
parent 38809 4fc92758e85e4fd5a828117b0bf20b429cb9fa41
child 38811 f8bdcd0f23383523cbd5c4704213c1b6001bc7e3
push id401
push userclokep@gmail.com
push dateMon, 01 Jun 2020 20:41:59 +0000
reviewersdarktrojan
bugs1624429
Bug 1624429 - Add .idl and .py files to file-perm checks. r=darktrojan Adding IDL file and Python files to the file-perm check. Firefox does not check these files, but I see no reason why they can't be added. For Python files that should be executable, as long as the first line starts with the magic '#!' they will not cause a fail if they have the executable bit set.
tools/lint/file-perm.yml
--- a/tools/lint/file-perm.yml
+++ b/tools/lint/file-perm.yml
@@ -4,21 +4,23 @@ file-perm:
     include:
         - .
     extensions:
         - .c
         - .cc
         - .cpp
         - .h
         - .html
+        - .idl
         - .js
         - .jsm
         - .jsx
         - .m
         - .mm
+        - .py
         - .rs
         - .xhtml
         - .xml
         - .xul
     support-files:
         - 'tools/lint/file-perm/**'
     type: external
     payload: commlint:lint_wrapper