mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: appease tidy.
This commit is contained in:
parent
e6b4ceca07
commit
35f872e2d9
2 changed files with 3 additions and 1 deletions
|
@ -901,7 +901,8 @@ impl LonghandIdSet {
|
||||||
pub fn border_background_properties() -> &'static Self {
|
pub fn border_background_properties() -> &'static Self {
|
||||||
${static_longhand_id_set(
|
${static_longhand_id_set(
|
||||||
"BORDER_BACKGROUND_PROPERTIES",
|
"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
|
&BORDER_BACKGROUND_PROPERTIES
|
||||||
}
|
}
|
||||||
|
|
|
@ -89,6 +89,7 @@ files = [
|
||||||
# Python 3 syntax causes "E901 SyntaxError" when flake8 runs in Python 2
|
# Python 3 syntax causes "E901 SyntaxError" when flake8 runs in Python 2
|
||||||
"./etc/taskcluster/decision_task.py",
|
"./etc/taskcluster/decision_task.py",
|
||||||
"./etc/taskcluster/decisionlib.py",
|
"./etc/taskcluster/decisionlib.py",
|
||||||
|
"./components/style/properties/build.py",
|
||||||
]
|
]
|
||||||
# Directories that are ignored for the non-WPT tidy check.
|
# Directories that are ignored for the non-WPT tidy check.
|
||||||
directories = [
|
directories = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue