浏览代码

fix: only run ruff on taipy and tests folders

trgiangdo 1 月之前
父节点
当前提交
28685b9b87
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .github/workflows/partial-tests.yml

+ 2 - 0
.github/workflows/partial-tests.yml

@@ -17,6 +17,8 @@ jobs:
           mypy_flags:  "--ignore-missing-imports --implicit-optional --disable-error-code attr-defined --no-namespace-packages --exclude (taipy/templates/|tools/|doc/gui/examples/.*/builder.py|taipy/common/config/config.pyi) --follow-imports skip --disable-error-code import-untyped"
 
       - uses: chartboost/ruff-action@v1
+        with:
+          src: './taipy ./tests'
   tests:
     needs: linter
     timeout-minutes: 50