Clean up unused imports in `hacking` directory (#79894)

pull/79895/head
Matt Clay 2 years ago committed by GitHub
parent 25d859f8fb
commit e69ef1b249
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,6 @@ import argparse
import json
import os
import re
import sys
import io
import zipfile

@ -19,7 +19,7 @@ from ansible.release import __version__ as ansible_core__version__
# Pylint doesn't understand Python3 namespace modules.
# pylint: disable=relative-beyond-top-level
from ..commands import Command
from ..errors import InvalidUserInput, MissingUserInput
from ..errors import InvalidUserInput
# pylint: enable=relative-beyond-top-level

@ -7,21 +7,15 @@ from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import argparse
import importlib
import os
import pathlib
import time
import urllib.parse
from collections import defaultdict
from ansible.module_utils.common.collections import is_iterable
from ansible.module_utils.urls import Request
# Pylint doesn't understand Python3 namespace modules.
from ..commands import Command # pylint: disable=relative-beyond-top-level
from .. import errors # pylint: disable=relative-beyond-top-level
EXAMPLE_CONF = """

Loading…
Cancel
Save