Skip to content

Commit

Permalink
SA14/CI: Suppress alert from lgtm.com
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
amotl committed Jun 1, 2022
1 parent d93dfce commit aad1458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crate/client/sqlalchemy/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import string
from collections import defaultdict

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

Expand Down

0 comments on commit aad1458

Please sign in to comment.