mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
[PR #11400/236b9c0e backport][stable-12] Sort imports with ruff check --fix (#11409)
Sort imports with ruff check --fix (#11400)
Sort imports with ruff check --fix.
(cherry picked from commit 236b9c0e04)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -25,9 +25,11 @@ except ImportError:
|
||||
|
||||
INFLUXDB_IMP_ERR = None
|
||||
try:
|
||||
from influxdb import InfluxDBClient
|
||||
from influxdb import ( # pylint: disable=unused-import
|
||||
InfluxDBClient,
|
||||
exceptions, # noqa: F401
|
||||
)
|
||||
from influxdb import __version__ as influxdb_version
|
||||
from influxdb import exceptions # noqa: F401, pylint: disable=unused-import
|
||||
|
||||
HAS_INFLUXDB = True
|
||||
except ImportError:
|
||||
|
||||
Reference in New Issue
Block a user