Make airflow/migrations/env.py Pylint Compatible (#9670)

This commit is contained in:
Kaxil Naik 2020-07-08 12:14:51 +01:00 коммит произвёл GitHub
Родитель 7a4988a3c7
Коммит c353fed81a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 2 добавлений и 3 удалений

Просмотреть файл

@ -21,7 +21,7 @@ from logging.config import fileConfig
from alembic import context
from airflow import models, settings
from airflow.models.serialized_dag import SerializedDagModel # noqa
from airflow.models.serialized_dag import SerializedDagModel # pylint: disable=unused-import # noqa
def include_object(_, name, type_, *args):

Просмотреть файл

@ -276,7 +276,7 @@ ignored-classes=optparse.Values,thread._local,_thread._local,sqlalchemy.orm.scop
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis. It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=alembic.op
ignored-modules=alembic.op,alembic.context
# Show a hint with possible names when a member name was not found. The aspect
# of finding the hint is based on edit distance.

Просмотреть файл

@ -1,6 +1,5 @@
./airflow/configuration.py
./airflow/macros/hive.py
./airflow/migrations/env.py
./airflow/models/crypto.py
./airflow/models/dag.py
./airflow/models/dagrun.py