Skip to content

Commit c5b23cd

Browse files
Use short python version (X.Y) in primer output
Refs 420f2ae.
1 parent 420f2ae commit c5b23cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/testutils/_primer/primer_run_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def run(self) -> None:
4242
local_commit = Repo(data.clone_directory).head.object.hexsha
4343
packages[package] = PackageData(commit=local_commit, messages=messages)
4444
path = self.primer_directory / (
45-
f"output_{'.'.join(str(i) for i in sys.version_info[:3])}_{self.config.type}"
45+
f"output_{'.'.join(str(i) for i in sys.version_info[:2])}_{self.config.type}"
4646
+ (f"_batch{self.config.batchIdx}.txt" if self.config.batches else "")
4747
)
4848
print(f"Writing result in {path}")

0 commit comments

Comments
 (0)