From 35f872e2d996dd095e311f83d9d6c07c965db582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 16 Apr 2020 18:31:52 +0200 Subject: [PATCH] style: appease tidy. --- components/style/properties/properties.mako.rs | 3 ++- servo-tidy.toml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index aed30c9c169..5a0b9796c02 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -901,7 +901,8 @@ impl LonghandIdSet { pub fn border_background_properties() -> &'static Self { ${static_longhand_id_set( "BORDER_BACKGROUND_PROPERTIES", - lambda p: (p.logical_group and p.logical_group.startswith("border")) or p.name in ["background-color", "background-image"] + lambda p: (p.logical_group and p.logical_group.startswith("border")) or \ + p.name in ["background-color", "background-image"] )} &BORDER_BACKGROUND_PROPERTIES } diff --git a/servo-tidy.toml b/servo-tidy.toml index d308abedc4a..c70ac96877b 100644 --- a/servo-tidy.toml +++ b/servo-tidy.toml @@ -89,6 +89,7 @@ files = [ # Python 3 syntax causes "E901 SyntaxError" when flake8 runs in Python 2 "./etc/taskcluster/decision_task.py", "./etc/taskcluster/decisionlib.py", + "./components/style/properties/build.py", ] # Directories that are ignored for the non-WPT tidy check. directories = [