mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
ruff: Fix ISC003 Explicitly concatenated string.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
2c5e114f8b
commit
17300f196c
@@ -673,9 +673,7 @@ html_rules: List["Rule"] = [
|
||||
{
|
||||
"pattern": "style ?=",
|
||||
"description": "Avoid using the `style=` attribute; we prefer styling in CSS files",
|
||||
"exclude_pattern": r'.*style ?=["'
|
||||
+ "'"
|
||||
+ "](display: ?none|background: {{|color: {{|background-color: {{).*",
|
||||
"exclude_pattern": r""".*style ?=["'](display: ?none|background: {{|color: {{|background-color: {{).*""",
|
||||
"exclude": {
|
||||
# 5xx page doesn't have external CSS
|
||||
"static/html/5xx.html",
|
||||
|
||||
Reference in New Issue
Block a user