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:
serge-sans-paille 2023-01-02 11:46:53 +00:00
parent c6e8d5ee6f
commit bf0a68c246
3 changed files with 5 additions and 1 deletions

View file

@ -46,6 +46,9 @@ exclude =
toolkit/moz.configure,
toolkit/nss.configure,
# mako files are not really python files
*.mako.py,
# These paths are intentionally excluded (not necessarily for good reason).
build/moz.configure/*.configure,
build/pymake/,

View file

@ -3,7 +3,7 @@ black:
description: Reformat python
exclude:
- gfx/harfbuzz/src/meson.build
- layout/style/ServoCSSPropList.mako.py
- '**/*.mako.py'
- python/mozbuild/mozbuild/test/frontend/data/reader-error-syntax/moz.build
- testing/mozharness/configs/test/test_malformed.py
- testing/web-platform/tests

View file

@ -11,6 +11,7 @@ rust:
- gfx/wr/wr_malloc_size_of/
- media/mp4parse-rust/
- servo/
- '**/*.mako.rs'
extensions:
- rs
support-files: