Bläddra i källkod

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 månader sedan
förälder
incheckning
d12255025c
Inget konto är kopplat till bidragsgivarens mejladress
2 ändrade filer med 11 tillägg och 2 borttagningar
  1. 10
    1
      .github/workflows/api-tests.yml
  2. 1
    1
      api/uv.lock

+ 10
- 1
.github/workflows/api-tests.yml Visa fil

@@ -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 Visa fil

@@ -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'",

Laddar…
Avbryt
Spara