From c5e68715e9c956b07eab5df7484d531b18e334bd Mon Sep 17 00:00:00 2001 From: isabelizimm Date: Tue, 21 Nov 2023 17:08:14 -0500 Subject: [PATCH 1/2] ignore more in pyright --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 0cc88beb..5d88170d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,7 @@ ignore = [ "vetiver/prototype.py", "vetiver/rsconnect.py", "vetiver/server.py", + "vetiver/templates.py", "vetiver/types.py", "vetiver/utils.py", "vetiver/vetiver_model.py", From f6c60361e64aecea79c90e25b692b519a766f9c1 Mon Sep 17 00:00:00 2001 From: isabelizimm Date: Tue, 21 Nov 2023 17:12:16 -0500 Subject: [PATCH 2/2] simplify CI --- .github/workflows/tests.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aa4cec22..f0bea629 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -132,17 +132,9 @@ jobs: - name: Run tests run: | make test + typecheck: runs-on: ubuntu-latest - - # We want to run on external PRs, but not on our own internal PRs as they'll be run - # by the push to the branch. - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository - - strategy: - matrix: - python-version: [3.11] - steps: - name: Checkout Code uses: actions/checkout@v3 @@ -150,7 +142,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: "3.11" - name: Install Packages shell: bash