File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,10 @@ def test_cqa_ruff_check(project_root):
2424 )
2525
2626 if result .returncode != 0 :
27- pytest .fail (f"ruff check failed:\n { result .stdout } \n { result .stderr } " )
27+ pytest .fail (
28+ f"ruff check failed:\n { result .stdout } \n { result .stderr } " ,
29+ pytrace = False ,
30+ )
2831
2932
3033def test_cqa_ruff_format_check (project_root ):
@@ -39,7 +42,8 @@ def test_cqa_ruff_format_check(project_root):
3942
4043 if result .returncode != 0 :
4144 pytest .fail (
42- f"ruff format check failed:\n { result .stdout } \n { result .stderr } "
45+ f"ruff format check failed:\n { result .stdout } \n { result .stderr } " ,
46+ pytrace = False ,
4347 )
4448
4549
@@ -66,4 +70,4 @@ def test_cqa_mypy(project_root):
6670 output = result .stdout
6771 if result .stderr :
6872 output += "\n \n " + result .stderr
69- pytest .fail (f"mypy validation failed:\n { output } " )
73+ pytest .fail (f"mypy validation failed:\n { output } " , pytrace = False )
You can’t perform that action at this time.
0 commit comments