File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def contrasting_color_generator():
132132 """
133133
134134 def rgb_to_hex (rgb ):
135- return "#% 02x% 02x% 02x" % tuple (rgb )
135+ return "#{: 02x}{: 02x}{: 02x}" . format ( * tuple (rgb ) )
136136
137137 triples = [
138138 (1 , 0 , 0 ),
Original file line number Diff line number Diff line change @@ -55,9 +55,6 @@ packages = ["debug_toolbar"]
5555[tool .hatch .version ]
5656path = " debug_toolbar/__init__.py"
5757
58- [tool .ruff .isort ]
59- combine-as-imports = true
60-
6158[tool .coverage .html ]
6259skip_covered = true
6360skip_empty = true
@@ -75,6 +72,9 @@ source = ["src", ".tox/*/site-packages"]
7572fail_under = 94
7673show_missing = true
7774
75+ [tool .ruff .isort ]
76+ combine-as-imports = true
77+
7878[tool .ruff ]
7979select = [
8080 # flake8/Pyflakes
You can’t perform that action at this time.
0 commit comments