Skip to content

Commit f0b2f20

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3fab110 commit f0b2f20

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pandas/io/sql.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ def _sa_text_if_string(stmt: Any) -> Any:
121121

122122

123123
def _process_parse_dates_argument(parse_dates):
124-
125124
"""Process parse_dates argument for read_sql functions"""
126125
# handle non-list entries for parse_dates gracefully
127126
if parse_dates is True or parse_dates is None or parse_dates is False:
@@ -1906,7 +1905,6 @@ def read_query(
19061905
)
19071906
return frame
19081907

1909-
19101908
read_sql = read_query
19111909

19121910
def prep_table(

pandas/tests/io/sql/test_percent_patterns.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ def test_like_pattern(sql_con: Any) -> None:
2020

2121

2222
def test_sqlalchemy_selectable(sql_con: Any) -> None:
23-
from sqlalchemy import literal, select
23+
from sqlalchemy import (
24+
literal,
25+
select,
26+
)
2427

2528
stmt = select(literal("hello"))
2629
result = sql_con.execute(stmt)

0 commit comments

Comments
 (0)