Skip to content

Commit fad026f

Browse files
committed
Chore: Recent Ruff says "Unknown rule selector: W504"
Invalid rule code provided.
1 parent 1bc5e50 commit fad026f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/sqlalchemy_cratedb/compat/core14.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,7 @@ def _get_crud_params(compiler, stmt, compile_state, **kw):
317317
_column_as_key,
318318
kw,
319319
)
320-
elif (
321-
not values
322-
and compiler.for_executemany # noqa: W503
323-
and compiler.dialect.supports_default_metavalue # noqa: W503
324-
):
320+
elif not values and compiler.for_executemany and compiler.dialect.supports_default_metavalue:
325321
# convert an "INSERT DEFAULT VALUES"
326322
# into INSERT (firstcol) VALUES (DEFAULT) which can be turned
327323
# into an in-place multi values. This supports

0 commit comments

Comments
 (0)