Fixed failed pylint in master (#12938)
This commit is contained in:
Родитель
53c48471a6
Коммит
d7ddf16a36
|
@ -24,12 +24,15 @@ from subprocess import run
|
|||
from tempfile import NamedTemporaryFile, TemporaryDirectory
|
||||
from typing import List
|
||||
|
||||
# pylint: disable=no-name-in-module
|
||||
from docs.exts.docs_build.code_utils import pretty_format_path
|
||||
from docs.exts.docs_build.errors import DocBuildError, parse_sphinx_warnings
|
||||
from docs.exts.docs_build.github_action_utils import with_group
|
||||
from docs.exts.docs_build.spelling_checks import SpellingError, parse_spelling_warnings
|
||||
from docs.exts.provider_yaml_utils import load_package_data
|
||||
|
||||
# pylint: enable=no-name-in-module
|
||||
|
||||
ROOT_PROJECT_DIR = os.path.abspath(
|
||||
os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir, os.pardir, os.pardir)
|
||||
)
|
||||
|
|
|
@ -21,9 +21,12 @@ import argparse
|
|||
import fnmatch
|
||||
import os
|
||||
|
||||
# pylint: disable=no-name-in-module
|
||||
from docs.exts.docs_build.docs_builder import AirflowDocsBuilder
|
||||
from docs.exts.provider_yaml_utils import load_package_data
|
||||
|
||||
# pylint: enable=no-name-in-module
|
||||
|
||||
AIRFLOW_SITE_DIR = os.environ.get('AIRFLOW_SITE_DIRECTORY')
|
||||
|
||||
if __name__ != "__main__":
|
||||
|
|
Загрузка…
Ссылка в новой задаче