Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 5, 2023
1 parent 34855bf commit 659e5af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion duckdb_engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import duckdb
import sqlalchemy
from packaging.version import Version
from sqlalchemy import pool, text
from sqlalchemy import types as sqltypes
from sqlalchemy import util
Expand All @@ -24,7 +25,6 @@
from sqlalchemy.engine.default import DefaultDialect
from sqlalchemy.engine.url import URL
from sqlalchemy.ext.compiler import compiles
from packaging.version import Version

from .config import apply_config, get_core_config
from .datatypes import ISCHEMA_NAMES, register_extension_types
Expand Down
6 changes: 1 addition & 5 deletions duckdb_engine/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,5 @@ def test_361(engine: Engine) -> None:
part = "year"
date_part = func.date_part(part, test.c.dt)

stmt = (
select(date_part)
.select_from(test)
.group_by(date_part)
)
stmt = select(date_part).select_from(test).group_by(date_part)
conn.execute(stmt).fetchall()

0 comments on commit 659e5af

Please sign in to comment.