Skip to content

Commit 385de7d

Browse files
committed
Use the zuban executable
1 parent 8fd3f9c commit 385de7d

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "pyright 1.1.403"
1+
version = "pyright 1.1.404"

conformance/results/results.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,11 @@ <h3>Python Type System Conformance Test Results</h3>
160160
<tr><th class="col1">&nbsp;</th>
161161
<th class='tc-header'><div class='tc-name'>mypy 1.17.1</div>
162162
</th>
163-
<th class='tc-header'><div class='tc-name'>pyright 1.1.403</div>
163+
<th class='tc-header'><div class='tc-name'>pyright 1.1.404</div>
164164
</th>
165165
<th class='tc-header'><div class='tc-name'>pyre 0.9.25</div>
166166
</th>
167-
<th class='tc-header'><div class='tc-name'>zuban 0.0.19</div>
167+
<th class='tc-header'><div class='tc-name'>zuban 0.0.20</div>
168168
</th>
169169
</tr>
170170
<tr><th class="column" colspan="5">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "zuban 0.0.19"
1+
version = "zuban 0.0.20"

conformance/src/type_checker.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,19 +296,20 @@ def install(self) -> bool:
296296
return False
297297

298298
def get_version(self) -> str:
299-
proc = run(["zmypy", "--version"], stdout=PIPE, text=True)
300-
return proc.stdout.strip().replace("zmypy", "zuban")
299+
proc = run(["zuban", "--version"], stdout=PIPE, text=True)
300+
return proc.stdout.strip()
301301

302302
def run_tests(self, test_files: Sequence[str]) -> dict[str, str]:
303303
command = [
304-
"zmypy",
304+
"zuban",
305+
"check",
305306
".",
306307
"--disable-error-code",
307308
"empty-body",
308309
"--enable-error-code",
309310
"deprecated",
310311
"--no-warn-unreachable",
311-
"--no-mypy-compatible",
312+
"--hide-error-codes",
312313
]
313314
proc = run(command, stdout=PIPE, text=True, encoding="utf-8")
314315
lines = proc.stdout.split("\n")

0 commit comments

Comments
 (0)