Skip to content

Commit 2eba4d4

Browse files
authored
Nopytyped (#24)
* test timefuncs for pyright * remove py.typed * delete commented section out of test.yml
1 parent 5f8cdaa commit 2eba4d4

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,11 @@ jobs:
4949
rm -rf typings
5050
pip install pyright
5151
52-
# - name: run pyright command line
53-
# run:
54-
# pyright -p pyrightdistconfig.json --dependencies
55-
56-
# - name: Run pyright against dist
57-
# uses: gramster/pyright-action@main
58-
# with:
59-
# project: pyrightdistconfig.json
60-
# extra-args: --dependencies
61-
# warn-partial: true
52+
- name: Run pyright against dist
53+
uses: gramster/pyright-action@main
54+
with:
55+
project: pyrightdistconfig.json
56+
warn-partial: true
6257

6358
- name: Run mypy against dist
6459
run:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ def list_packages(source_path: str = src_path) -> Generator:
4040
package_dir={"": "src.tmp"},
4141
version=version,
4242
packages=list(list_packages()),
43-
package_data={"pandas-stubs": ["py.typed", "*.pyi", "**/*.pyi"]},
43+
package_data={"pandas-stubs": ["*.pyi", "**/*.pyi"]},
4444
install_requires=['typing_extensions>=4.2;python_version>="3.8"'],
4545
)

typings/pandas/py.typed

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)