@@ -13,8 +13,10 @@ def test_formatting():
13
13
14
14
source_dir = os .path .dirname (ttb .__file__ )
15
15
root_dir = os .path .dirname (source_dir )
16
- subprocess .run (f"isort { root_dir } --check --settings-path { root_dir } " , check = True )
17
- subprocess .run (f"black --check { root_dir } " , check = True )
16
+ subprocess .run (
17
+ f"isort { root_dir } --check --settings-path { root_dir } " , check = True , shell = True
18
+ )
19
+ subprocess .run (f"black --check { root_dir } " , check = True , shell = True )
18
20
19
21
20
22
@pytest .mark .packaging
@@ -31,7 +33,9 @@ def test_linting():
31
33
root_dir = os .path .dirname (os .path .dirname (__file__ ))
32
34
toml_file = os .path .join (root_dir , "pyproject.toml" )
33
35
subprocess .run (
34
- f"pylint { ' ' .join (enforced_files )} --rcfile { toml_file } -j0" , check = True
36
+ f"pylint { ' ' .join (enforced_files )} --rcfile { toml_file } -j0" ,
37
+ check = True ,
38
+ shell = True ,
35
39
)
36
40
37
41
@@ -40,4 +44,4 @@ def test_typing():
40
44
"""Run type checker on package"""
41
45
root_dir = os .path .dirname (os .path .dirname (__file__ ))
42
46
toml_file = os .path .join (root_dir , "pyproject.toml" )
43
- subprocess .run (f"mypy -p pyttb --config-file { toml_file } " , check = True )
47
+ subprocess .run (f"mypy -p pyttb --config-file { toml_file } " , check = True , shell = True )
0 commit comments