@@ -21,7 +21,7 @@ def test_linting():
21
21
root_dir = os .path .dirname (os .path .dirname (__file__ ))
22
22
toml_file = os .path .join (root_dir , "pyproject.toml" )
23
23
subprocess .run (
24
- f" ruff check { root_dir } --config { toml_file } " ,
24
+ f' ruff check " { root_dir } " --config " { toml_file } "' ,
25
25
check = True ,
26
26
shell = True ,
27
27
)
@@ -32,7 +32,7 @@ def test_formatting():
32
32
root_dir = os .path .dirname (os .path .dirname (__file__ ))
33
33
toml_file = os .path .join (root_dir , "pyproject.toml" )
34
34
subprocess .run (
35
- f" ruff format --check { root_dir } --config { toml_file } " ,
35
+ f' ruff format --check " { root_dir } " --config " { toml_file } "' ,
36
36
check = True ,
37
37
shell = True ,
38
38
)
@@ -50,7 +50,7 @@ def test_typing():
50
50
root_dir = os .path .dirname (os .path .dirname (__file__ ))
51
51
toml_file = os .path .join (root_dir , "pyproject.toml" )
52
52
subprocess .run (
53
- f" mypy -p pyttb --config-file { toml_file } { skip_untyped } " ,
53
+ f' mypy -p pyttb --config-file " { toml_file } " { skip_untyped } ' ,
54
54
check = True ,
55
55
shell = True ,
56
56
)
@@ -61,7 +61,7 @@ def test_spelling():
61
61
root_dir = os .path .dirname (os .path .dirname (__file__ ))
62
62
toml_file = os .path .join (root_dir , "pyproject.toml" )
63
63
subprocess .run (
64
- f" codespell --toml { toml_file } " ,
64
+ f' codespell --toml " { toml_file } "' ,
65
65
check = True ,
66
66
shell = True ,
67
67
)
0 commit comments