forked from mirrors/gecko-dev
Bug 1805839 - Do not auto-format mako.XY template files r=sheehan,linter-reviewers,sylvestre
The template syntax is incompatible with the host language syntax. Differential Revision: https://phabricator.services.mozilla.com/D164786
This commit is contained in:
parent
c6e8d5ee6f
commit
bf0a68c246
3 changed files with 5 additions and 1 deletions
3
.flake8
3
.flake8
|
|
@ -46,6 +46,9 @@ exclude =
|
||||||
toolkit/moz.configure,
|
toolkit/moz.configure,
|
||||||
toolkit/nss.configure,
|
toolkit/nss.configure,
|
||||||
|
|
||||||
|
# mako files are not really python files
|
||||||
|
*.mako.py,
|
||||||
|
|
||||||
# These paths are intentionally excluded (not necessarily for good reason).
|
# These paths are intentionally excluded (not necessarily for good reason).
|
||||||
build/moz.configure/*.configure,
|
build/moz.configure/*.configure,
|
||||||
build/pymake/,
|
build/pymake/,
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ black:
|
||||||
description: Reformat python
|
description: Reformat python
|
||||||
exclude:
|
exclude:
|
||||||
- gfx/harfbuzz/src/meson.build
|
- gfx/harfbuzz/src/meson.build
|
||||||
- layout/style/ServoCSSPropList.mako.py
|
- '**/*.mako.py'
|
||||||
- python/mozbuild/mozbuild/test/frontend/data/reader-error-syntax/moz.build
|
- python/mozbuild/mozbuild/test/frontend/data/reader-error-syntax/moz.build
|
||||||
- testing/mozharness/configs/test/test_malformed.py
|
- testing/mozharness/configs/test/test_malformed.py
|
||||||
- testing/web-platform/tests
|
- testing/web-platform/tests
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ rust:
|
||||||
- gfx/wr/wr_malloc_size_of/
|
- gfx/wr/wr_malloc_size_of/
|
||||||
- media/mp4parse-rust/
|
- media/mp4parse-rust/
|
||||||
- servo/
|
- servo/
|
||||||
|
- '**/*.mako.rs'
|
||||||
extensions:
|
extensions:
|
||||||
- rs
|
- rs
|
||||||
support-files:
|
support-files:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue