Skip to content

Commit

Permalink
Update ruff formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Jan 14, 2025
1 parent 389bd50 commit 26752ba
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions demo/test_demos.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_demo(file, scalar_type):
assert os.system(f"cd {demo_dir} && ffcx {opts} {file}.py") == 0
assert (
os.system(
f"cd {demo_dir} && " f'cl.exe /I "../ffcx/codegeneration" {extra_flags} /c {file}.c'
f'cd {demo_dir} && cl.exe /I "../ffcx/codegeneration" {extra_flags} /c {file}.c'
)
) == 0
assert (
Expand All @@ -65,11 +65,6 @@ def test_demo(file, scalar_type):
)
assert os.system(f"cd {demo_dir} && ffcx {opts} {file}.py") == 0
assert (
os.system(
f"cd {demo_dir} && "
f"{cc} -I../ffcx/codegeneration "
f"{extra_flags} "
f"-c {file}.c"
)
os.system(f"cd {demo_dir} && {cc} -I../ffcx/codegeneration {extra_flags} -c {file}.c")
== 0
)

0 comments on commit 26752ba

Please sign in to comment.