@@ -54,7 +54,7 @@ def task_run_r_script(produces = Path("out.txt")): ...
54
54
r_script = f"""
55
55
{ parse_config_code }
56
56
if(length(config["depends_on"]) <= 0){{
57
- stop("error message to print")
57
+ stop("error message to print") # noqa: T201
58
58
}}
59
59
file_descriptor <- file(config$produces)
60
60
writeLines(c("So, so you think you can tell heaven from hell?"), file_descriptor)
@@ -63,7 +63,7 @@ def task_run_r_script(produces = Path("out.txt")): ...
63
63
tmp_path .joinpath ("script.r" ).write_text (textwrap .dedent (r_script ))
64
64
65
65
result = runner .invoke (cli , [tmp_path .as_posix ()])
66
-
66
+ print ( result . output ) # noqa: T201
67
67
assert result .exit_code == ExitCode .OK
68
68
assert tmp_path .joinpath ("out.txt" ).exists ()
69
69
@@ -93,7 +93,7 @@ def run_r_script(): ...
93
93
tmp_path .joinpath ("script.r" ).write_text (textwrap .dedent (r_script ))
94
94
95
95
result = runner .invoke (cli , [tmp_path .as_posix ()])
96
-
96
+ print ( result . output ) # noqa: T201
97
97
assert result .exit_code == ExitCode .OK
98
98
assert tmp_path .joinpath ("out.txt" ).exists ()
99
99
@@ -160,7 +160,7 @@ def task_run_r_script(): ...
160
160
tmp_path .joinpath ("script.r" ).write_text (textwrap .dedent (r_script ))
161
161
162
162
result = runner .invoke (cli , [tmp_path .as_posix ()])
163
-
163
+ print ( result . output ) # noqa: T201
164
164
assert result .exit_code == ExitCode .OK
165
165
assert tmp_path .joinpath ("out.txt" ).exists ()
166
166
0 commit comments