Skip to content

Commit c1d964f

Browse files
committed
"Update ruff pre-commit hook
"
1 parent d55c6f5 commit c1d964f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111
- id: trailing-whitespace
1212
- repo: https://github.com/astral-sh/ruff-pre-commit
13-
rev: v0.3.4
13+
rev: v0.15.8
1414
hooks:
1515
- id: ruff-format
1616
- id: ruff

examples/httpserver_cookies.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ def themed_template(user_preferred_theme: str):
3434
<title>Cookie Example</title>
3535
<style>
3636
body {{
37-
background-color: {theme['background-color']};
38-
color: {theme['color']};
37+
background-color: {theme["background-color"]};
38+
color: {theme["color"]};
3939
}}
4040
4141
button {{
42-
background-color: {theme['button-color']};
43-
color: {theme['color']};
44-
border: 1px solid {theme['color']};
42+
background-color: {theme["button-color"]};
43+
color: {theme["color"]};
44+
border: 1px solid {theme["color"]};
4545
padding: 10px;
4646
margin: 10px;
4747
}}

0 commit comments

Comments
 (0)