From 6e24717072cab47d6afa4e5aa5502fc312a05431 Mon Sep 17 00:00:00 2001 From: Toshiki Teramura Date: Sat, 27 Jan 2024 18:34:58 +0900 Subject: [PATCH] Remove invalid cases --- .github/workflows/python.yml | 1 - pyo3-stub-gen-testing-mixed/invalids/test_mixed.py | 5 ----- pyrightconfig.json | 7 ------- 3 files changed, 13 deletions(-) delete mode 100644 pyo3-stub-gen-testing-mixed/invalids/test_mixed.py delete mode 100644 pyrightconfig.json diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 6560136..b7cf61b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -45,5 +45,4 @@ jobs: - name: Type check run: | pyright - ! pyright invalids/ working-directory: ./${{ matrix.crate }} diff --git a/pyo3-stub-gen-testing-mixed/invalids/test_mixed.py b/pyo3-stub-gen-testing-mixed/invalids/test_mixed.py deleted file mode 100644 index e0fd7bc..0000000 --- a/pyo3-stub-gen-testing-mixed/invalids/test_mixed.py +++ /dev/null @@ -1,5 +0,0 @@ -import pyo3_stub_gen_testing_mixed.my_rust_pkg - - -def test_sum_as_string(): - assert pyo3_stub_gen_testing_mixed.my_rust_pkg.sum_as_string(1, "2") == "3" diff --git a/pyrightconfig.json b/pyrightconfig.json deleted file mode 100644 index 0070f9c..0000000 --- a/pyrightconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "include": [ - "pyo3-stub-gen-testing-mixed/python", - "pyo3-stub-gen-testing-mixed/tests", - "pyo3-stub-gen-testing-pure/tests" - ] -}