Skip to content

Commit 3682da5

Browse files
committed
SA14/CI: Suppress alert from lgtm.com
lgtm.com issued an alert like:: Module 'sqlalchemy' is imported with both 'import' and 'import from' See: https://lgtm.com/projects/g/crate/crate-python/rev/pr-8ea3b257a334a41cdb531d681072752e662eee56. The corresponding rule in lgtm.yml introduced by bcf9fff does not seem to work.
1 parent a12b23d commit 3682da5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crate/client/sqlalchemy/compiler.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
import string
2323
from collections import defaultdict
2424

25-
import sqlalchemy as sa
26-
from sqlalchemy.sql import compiler, crud, selectable
25+
import sqlalchemy as sa # lgtm[py/import-and-import-from]
26+
from sqlalchemy.sql import compiler, crud, selectable # lgtm[py/import-and-import-from]
2727
from .types import MutableDict
2828
from .sa_version import SA_VERSION, SA_1_4
2929

0 commit comments

Comments
 (0)