summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorMikhail Shchatko <mikhail.shchatko@mongodb.com>2021-03-30 16:28:34 +0300
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-30 14:10:23 +0000
commitfbba2c781f6d602769507d1d9d637e98fcf9f76f (patch)
tree52f64f8f684e32b37ecadf4b8ce7f06f2f8b961b /buildscripts
parent7962b4d46c1f408f8fda70b1445ffadac1c363e5 (diff)
downloadmongo-fbba2c781f6d602769507d1d9d637e98fcf9f76f.tar.gz
SERVER-55299 Fix pylint
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/burn_in_tags.py2
-rw-r--r--buildscripts/burn_in_tests_multiversion.py2
-rw-r--r--buildscripts/evergreen_burn_in_tests.py2
-rwxr-xr-xbuildscripts/evergreen_gen_multiversion_tests.py2
-rwxr-xr-xbuildscripts/evergreen_generate_resmoke_tasks.py2
-rw-r--r--buildscripts/patch_builds/change_data.py2
-rw-r--r--buildscripts/resmokelib/setup_multiversion/evergreen_conn.py2
-rw-r--r--buildscripts/selected_tests.py2
-rw-r--r--buildscripts/tests/resmokelib/setup_multiversion/test_evergreen_conn.py2
9 files changed, 9 insertions, 9 deletions
diff --git a/buildscripts/burn_in_tags.py b/buildscripts/burn_in_tags.py
index fba9a1e1d42..699a86fc9fc 100644
--- a/buildscripts/burn_in_tags.py
+++ b/buildscripts/burn_in_tags.py
@@ -8,9 +8,9 @@ from typing import Any, Dict, List
import click
-from evergreen.api import RetryingEvergreenApi, EvergreenApi
from git import Repo
from shrub.v2 import ShrubProject, BuildVariant, ExistingTask
+from evergreen.api import RetryingEvergreenApi, EvergreenApi
# Get relative imports to work when the package is not installed on the PYTHONPATH.
diff --git a/buildscripts/burn_in_tests_multiversion.py b/buildscripts/burn_in_tests_multiversion.py
index 1cff5566347..256ef6cb57e 100644
--- a/buildscripts/burn_in_tests_multiversion.py
+++ b/buildscripts/burn_in_tests_multiversion.py
@@ -6,11 +6,11 @@ import sys
from typing import Dict
import click
-from evergreen.api import EvergreenApi, RetryingEvergreenApi
from git import Repo
from shrub.v2 import BuildVariant, ExistingTask, ShrubProject
import structlog
from structlog.stdlib import LoggerFactory
+from evergreen.api import EvergreenApi, RetryingEvergreenApi
import buildscripts.evergreen_gen_multiversion_tests as gen_multiversion
import buildscripts.evergreen_generate_resmoke_tasks as gen_resmoke
diff --git a/buildscripts/evergreen_burn_in_tests.py b/buildscripts/evergreen_burn_in_tests.py
index 909ff3f1e0c..f3b2092497a 100644
--- a/buildscripts/evergreen_burn_in_tests.py
+++ b/buildscripts/evergreen_burn_in_tests.py
@@ -10,9 +10,9 @@ from typing import Optional, List, Dict, Set
import click
import requests
import structlog
-from evergreen import RetryingEvergreenApi, EvergreenApi
from git import Repo
from shrub.v2 import ShrubProject, BuildVariant, Task, TaskDependency, ExistingTask
+from evergreen import RetryingEvergreenApi, EvergreenApi
from buildscripts.burn_in_tests import RepeatConfig, BurnInExecutor, TaskInfo, FileChangeDetector, \
DEFAULT_REPO_LOCATIONS, BurnInOrchestrator
diff --git a/buildscripts/evergreen_gen_multiversion_tests.py b/buildscripts/evergreen_gen_multiversion_tests.py
index 5a413ae1e3a..f3d5289bbe7 100755
--- a/buildscripts/evergreen_gen_multiversion_tests.py
+++ b/buildscripts/evergreen_gen_multiversion_tests.py
@@ -16,8 +16,8 @@ import requests
import click
import structlog
-from evergreen.api import RetryingEvergreenApi, EvergreenApi
from shrub.v2 import ShrubProject, FunctionCall, Task, TaskDependency, BuildVariant, ExistingTask
+from evergreen.api import RetryingEvergreenApi, EvergreenApi
from buildscripts.resmokelib.multiversionconstants import (LAST_LTS_MONGO_BINARY, REQUIRES_FCV_TAG)
import buildscripts.util.taskname as taskname
diff --git a/buildscripts/evergreen_generate_resmoke_tasks.py b/buildscripts/evergreen_generate_resmoke_tasks.py
index 03de5fa3001..9c5be7c765e 100755
--- a/buildscripts/evergreen_generate_resmoke_tasks.py
+++ b/buildscripts/evergreen_generate_resmoke_tasks.py
@@ -23,10 +23,10 @@ import requests
import structlog
import yaml
-from evergreen.api import EvergreenApi, RetryingEvergreenApi
from pydantic.main import BaseModel
from shrub.v2 import Task, TaskDependency, BuildVariant, ExistingTask, ShrubProject
+from evergreen.api import EvergreenApi, RetryingEvergreenApi
# Get relative imports to work when the package is not installed on the PYTHONPATH.
if __name__ == "__main__" and __package__ is None:
diff --git a/buildscripts/patch_builds/change_data.py b/buildscripts/patch_builds/change_data.py
index 380c7f4c0a2..cd606333b09 100644
--- a/buildscripts/patch_builds/change_data.py
+++ b/buildscripts/patch_builds/change_data.py
@@ -4,8 +4,8 @@ from itertools import chain
from typing import Any, Dict, Iterable, Set, Optional, List
import structlog
-from evergreen import EvergreenApi
from git import DiffIndex, Repo
+from evergreen import EvergreenApi
LOGGER = structlog.get_logger(__name__)
diff --git a/buildscripts/resmokelib/setup_multiversion/evergreen_conn.py b/buildscripts/resmokelib/setup_multiversion/evergreen_conn.py
index 5619ef86ce0..1672d13526d 100644
--- a/buildscripts/resmokelib/setup_multiversion/evergreen_conn.py
+++ b/buildscripts/resmokelib/setup_multiversion/evergreen_conn.py
@@ -2,8 +2,8 @@
import os
import structlog
-from evergreen import RetryingEvergreenApi
from requests import HTTPError
+from evergreen import RetryingEvergreenApi
EVERGREEN_HOST = "https://evergreen.mongodb.com"
EVERGREEN_CONFIG_LOCATIONS = (
diff --git a/buildscripts/selected_tests.py b/buildscripts/selected_tests.py
index 147625a53b6..c967f5cf31a 100644
--- a/buildscripts/selected_tests.py
+++ b/buildscripts/selected_tests.py
@@ -9,10 +9,10 @@ from typing import Any, Dict, List, Set
import click
import structlog
from structlog.stdlib import LoggerFactory
-from evergreen.api import EvergreenApi, RetryingEvergreenApi
from git import Repo
from shrub.v2 import ShrubProject, BuildVariant
+from evergreen.api import EvergreenApi, RetryingEvergreenApi
# Get relative imports to work when the package is not installed on the PYTHONPATH.
from buildscripts.patch_builds.change_data import find_changed_files_in_repos, \
diff --git a/buildscripts/tests/resmokelib/setup_multiversion/test_evergreen_conn.py b/buildscripts/tests/resmokelib/setup_multiversion/test_evergreen_conn.py
index 0a42ff71d53..568d37f74d1 100644
--- a/buildscripts/tests/resmokelib/setup_multiversion/test_evergreen_conn.py
+++ b/buildscripts/tests/resmokelib/setup_multiversion/test_evergreen_conn.py
@@ -2,9 +2,9 @@
# pylint: disable=missing-docstring,too-many-arguments
import unittest
-from evergreen import RetryingEvergreenApi
from mock import patch
from requests import HTTPError
+from evergreen import RetryingEvergreenApi
from buildscripts.resmokelib.setup_multiversion import evergreen_conn
from buildscripts.resmokelib.setup_multiversion.config import SetupMultiversionConfig