1
0
mirror of https://github.com/ansible-collections/community.general.git synced 2025-07-27 20:21:52 +03:00

Remove unneccessary imports (#5940)

* Remove unneccessary imports.

* Keep unnecessary imports in module_utils - for now.

* Make older sanity tests shut up.

* Also make flake8 happier.
This commit is contained in:
Felix Fontein
2023-02-12 19:48:39 +01:00
committed by GitHub
parent de193ac1bf
commit 2b8ac3c629
60 changed files with 74 additions and 108 deletions

View File

@ -10,13 +10,14 @@ import logging
import logging.config
import os
import tempfile
from datetime import datetime
# (TODO: remove next line!)
from datetime import datetime # noqa: F401, pylint: disable=unused-import
from operator import eq
import time
try:
import yaml
import yaml # noqa: F401, pylint: disable=unused-import
import oci
from oci.constants import HEADER_NEXT_PAGE