File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -497,7 +497,9 @@ def read_excel(
497
497
498
498
499
499
class BaseExcelReader (metaclass = abc .ABCMeta ):
500
- def __init__ (self , filepath_or_buffer , storage_options : StorageOptions = None ) -> None :
500
+ def __init__ (
501
+ self , filepath_or_buffer , storage_options : StorageOptions = None
502
+ ) -> None :
501
503
# First argument can also be bytes, so create a buffer
502
504
if isinstance (filepath_or_buffer , bytes ):
503
505
filepath_or_buffer = BytesIO (filepath_or_buffer )
Original file line number Diff line number Diff line change 13
13
14
14
class XlrdReader (BaseExcelReader ):
15
15
@doc (storage_options = _shared_docs ["storage_options" ])
16
- def __init__ (self , filepath_or_buffer , storage_options : StorageOptions = None ) -> None :
16
+ def __init__ (
17
+ self , filepath_or_buffer , storage_options : StorageOptions = None
18
+ ) -> None :
17
19
"""
18
20
Reader using xlrd engine.
19
21
Original file line number Diff line number Diff line change @@ -2023,7 +2023,9 @@ class EngFormatter:
2023
2023
24 : "Y" ,
2024
2024
}
2025
2025
2026
- def __init__ (self , accuracy : int | None = None , use_eng_prefix : bool = False ) -> None :
2026
+ def __init__ (
2027
+ self , accuracy : int | None = None , use_eng_prefix : bool = False
2028
+ ) -> None :
2027
2029
self .accuracy = accuracy
2028
2030
self .use_eng_prefix = use_eng_prefix
2029
2031
You can’t perform that action at this time.
0 commit comments