Merge pull request #26626 from edx/jawayria/bom-2416
BOM-2416: Removed unused imports from docs, scripts, pavelib
This commit is contained in:
@@ -18,7 +18,6 @@ from cms.envs.devstack import ( # lint-amnesty, pylint: disable=unused-import
|
|||||||
UPDATE_SEARCH_INDEX_JOB_QUEUE,
|
UPDATE_SEARCH_INDEX_JOB_QUEUE,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# Turn on all the boolean feature flags, so that conditionally included
|
# Turn on all the boolean feature flags, so that conditionally included
|
||||||
# API endpoints will be found.
|
# API endpoints will be found.
|
||||||
for key, value in FEATURES.items():
|
for key, value in FEATURES.items():
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
# http://www.sphinx-doc.org/en/master/config
|
# http://www.sphinx-doc.org/en/master/config
|
||||||
|
|
||||||
|
|
||||||
import datetime # lint-amnesty, pylint: disable=unused-import
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from subprocess import check_call
|
from subprocess import check_call
|
||||||
|
|||||||
@@ -9,8 +9,6 @@ from shutil import rmtree
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from pavelib.utils.envs import Env
|
from pavelib.utils.envs import Env
|
||||||
from openedx.core.pytest_hooks import pytest_json_modifyreport # pylint: disable=unused-import
|
|
||||||
from openedx.core.pytest_hooks import pytest_sessionfinish # pylint: disable=unused-import
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(autouse=True, scope='session')
|
@pytest.fixture(autouse=True, scope='session')
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import subprocess
|
|||||||
import sys
|
import sys
|
||||||
from distutils import sysconfig
|
from distutils import sysconfig
|
||||||
|
|
||||||
from paver.easy import BuildFailure, sh, task # lint-amnesty, pylint: disable=unused-import
|
from paver.easy import sh, task # lint-amnesty, pylint: disable=unused-import
|
||||||
|
|
||||||
from .utils.envs import Env
|
from .utils.envs import Env
|
||||||
from .utils.timer import timed
|
from .utils.timer import timed
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ import logging
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
import boto3
|
import boto3
|
||||||
from botocore.config import Config
|
|
||||||
from botocore.exceptions import ClientError
|
from botocore.exceptions import ClientError
|
||||||
import socket
|
import socket
|
||||||
from multiprocessing import Pool
|
from multiprocessing import Pool
|
||||||
|
|||||||
Reference in New Issue
Block a user