Skip to content

Commit bbfb773

Browse files
committed
fix linting
1 parent 5070566 commit bbfb773

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python_files/printEnvVariablesToFile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
raise ValueError("Missing output file argument")
1313

1414
with open(output_file, "w") as outfile: # noqa: PTH123
15-
for key, val in os.environ.items():
15+
for key, val in os.environ.items(): # noqa: FURB122
1616
outfile.write(f"{key}={val}\n")

python_files/unittestadapter/execution.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ def run_tests(
189189
pattern: str,
190190
top_level_dir: Optional[str],
191191
verbosity: int,
192-
failfast: Optional[bool],
193-
locals_: Optional[bool] = None,
192+
failfast: Optional[bool], # noqa: FBT001
193+
locals_: Optional[bool] = None, # noqa: FBT001
194194
) -> ExecutionPayloadDict:
195195
cwd = os.path.abspath(start_dir) # noqa: PTH100
196196
if "/" in start_dir: # is a subdir

0 commit comments

Comments
 (0)