style: reformat code with ruff

This commit is contained in:
Tim Grelka
2024-12-11 01:09:42 +01:00
parent 0b4ce5b8b8
commit 7ef19075ee
17 changed files with 132 additions and 126 deletions
+4 -5
View File
@@ -5,19 +5,18 @@ from renderer.fifty_ohm_latex_renderer import FiftyOhmLaTeXRenderer
from test.util import paragraph
def test_dash_html() :
def test_dash_html():
assertions = {
"Foo - Bar" : "Foo – Bar",
"Foo - Bar": "Foo – Bar",
}
for assertion in assertions:
assert mistletoe.markdown(assertion, FiftyOhmHtmlRenderer) == paragraph(assertions[assertion])
def test_dash_latex() :
def test_dash_latex():
assertions = {
"Foo - Bar" : "\nFoo -- Bar\n",
"Foo - Bar": "\nFoo -- Bar\n",
}
for assertion in assertions: