File tree Expand file tree Collapse file tree 8 files changed +5
-11
lines changed Expand file tree Collapse file tree 8 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ from pandas._config import (
94
94
)
95
95
96
96
from pandas .util ._print_versions import show_versions as show_versions
97
- from pandas .util ._tester import test as test
98
97
99
98
from pandas .io .api import (
100
99
ExcelFile as ExcelFile ,
Original file line number Diff line number Diff line change 1
- import pyarrow as pa
1
+ import pyarrow as pa # pyright: ignore[reportMissingTypeStubs]
2
2
3
3
from pandas ._libs .missing import NAType
4
4
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ from pandas.io.excel import (
5
5
read_excel as read_excel ,
6
6
)
7
7
from pandas .io .feather_format import read_feather as read_feather
8
- from pandas .io .gbq import read_gbq as read_gbq
9
8
from pandas .io .html import read_html as read_html
10
9
from pandas .io .json import read_json as read_json
11
10
from pandas .io .orc import read_orc as read_orc
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ from typing import (
12
12
overload ,
13
13
)
14
14
15
- from odf .opendocument import OpenDocument
15
+ from odf .opendocument import OpenDocument # pyright: ignore[reportMissingTypeStubs]
16
16
from openpyxl .workbook .workbook import Workbook
17
17
from pandas .core .frame import DataFrame
18
- import pyxlsb .workbook
18
+ import pyxlsb .workbook # pyright: ignore[reportMissingTypeStubs]
19
19
from typing_extensions import Self
20
20
from xlrd .book import Book
21
21
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ from pandas._typing import (
34
34
UsecolsArgType ,
35
35
)
36
36
37
- from pandas .io .common import IOHandles
38
-
39
37
@overload
40
38
def read_csv (
41
39
filepath_or_buffer : FilePath | ReadCsvBuffer [bytes ] | ReadCsvBuffer [str ],
@@ -472,7 +470,6 @@ class TextFileReader(abc.Iterator):
472
470
chunksize : int | None
473
471
nrows : int | None
474
472
squeeze : bool
475
- handles : IOHandles | None
476
473
def __init__ (
477
474
self ,
478
475
f : FilePath | ReadCsvBuffer [bytes ] | ReadCsvBuffer [str ] | list ,
Original file line number Diff line number Diff line change @@ -240,7 +240,6 @@ enableTypeIgnoreComments = false # use pyright-specific ignores
240
240
# disable subset of strict
241
241
reportMissingParameterType = false
242
242
reportMissingTypeArgument = false
243
- reportMissingTypeStubs = false
244
243
reportUnnecessaryTypeIgnoreComment = true
245
244
reportUnknownArgumentType = false
246
245
reportUnknownLambdaType = false
Original file line number Diff line number Diff line change 20
20
BooleanArray ,
21
21
IntegerArray ,
22
22
)
23
- import pyarrow as pa
23
+ import pyarrow as pa # pyright: ignore[reportMissingTypeStubs]
24
24
from typing_extensions import assert_type
25
25
26
26
from pandas ._typing import Scalar
Original file line number Diff line number Diff line change @@ -678,7 +678,7 @@ def test_crosstab() -> None:
678
678
def test_arrow_dtype () -> None :
679
679
pytest .importorskip ("pyarrow" )
680
680
681
- import pyarrow as pa
681
+ import pyarrow as pa # pyright: ignore[reportMissingTypeStubs]
682
682
683
683
check (
684
684
assert_type (
You can’t perform that action at this time.
0 commit comments