瀏覽代碼

add tyck tool (currently ignore the error) (#22592)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
tags/1.8.0
Asuka Minato 2 月之前
父節點
當前提交
d12255025c
No account linked to committer's email address
共有 2 個文件被更改,包括 11 次插入2 次删除
  1. 10
    1
      .github/workflows/api-tests.yml
  2. 1
    1
      api/uv.lock

+ 10
- 1
.github/workflows/api-tests.yml 查看文件

@@ -47,7 +47,16 @@ jobs:
- name: Run Unit tests
run: |
uv run --project api bash dev/pytest/pytest_unit_tests.sh

- name: Run ty check
run: |
cd api
uv add --dev ty
uv run ty check || true
- name: Run pyrefly check
run: |
cd api
uv add --dev pyrefly
uv run pyrefly check || true
- name: Coverage Summary
run: |
set -x

+ 1
- 1
api/uv.lock 查看文件

@@ -1,5 +1,5 @@
version = 1
revision = 2
revision = 3
requires-python = ">=3.11, <3.13"
resolution-markers = [
"python_full_version >= '3.12.4' and platform_python_implementation != 'PyPy' and sys_platform == 'linux'",

Loading…
取消
儲存