Skip to content

Commit 4bde4aa

Browse files
committed
weird, not sure why --version would give different results locally?
1 parent c8b2a34 commit 4bde4aa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

conformance/results/results.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ <h3>Python Type System Conformance Test Results</h3>
180180
</th>
181181
<th class='tc-header'><div class='tc-name'>pyrefly 0.54.0</div>
182182
</th>
183-
<th class='tc-header'><div class='tc-name'>ty 0.0.21 (c1ad9f281 2026-03-06)</div>
183+
<th class='tc-header'><div class='tc-name'>ty 0.0.21</div>
184184
</th>
185185
</tr>
186186
<tr><th class="column" colspan="6">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "ty 0.0.21 (c1ad9f281 2026-03-06)"
1+
version = "ty 0.0.21"

conformance/src/type_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def install(self) -> bool:
207207

208208
def get_version(self) -> str:
209209
proc = run([sys.executable, "-m", "ty", "--version"], stdout=PIPE, text=True)
210-
return proc.stdout.strip()
210+
return proc.stdout.split("(")[0].strip()
211211

212212
def run_tests(self, test_files: Sequence[str]) -> dict[str, str]:
213213
command = [

0 commit comments

Comments
 (0)