Skip to content

Commit 0e4a132

Browse files
author
Marc Schöchlin
committed
Merge branch 'ssh' of github.com:SovereignCloudStack/openstack-workload-generator into ssh
2 parents 808c374 + 7681613 commit 0e4a132

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

src/openstack_workload_generator/__main__.py

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,8 @@
1111
from openstack.connection import Connection
1212
from openstack.config import loader
1313

14-
# $ make type-check
15-
# source venv/bin/activate && python3 -m mypy --no-color-output --pretty src
16-
# src/openstack_workload_generator/__main__.py:12: error: Cannot find implementation or library
17-
# stub for module named "entities" [import-not-found]
18-
# from entities import WorkloadGeneratorDomain
19-
# ^
20-
# src/openstack_workload_generator/__main__.py:13: error: Cannot find implementation or library stub for module
21-
# named "entities.helpers" [import-not-found]
22-
# from entities.helpers import setup_logging, cloud_checker, item_checker, Config
23-
# ^
24-
# src/openstack_workload_generator/__main__.py:13: note: See
25-
# https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
26-
# Found 2 errors in 1 file (checked 9 source files)
27-
# make: *** [Makefile:25: type-check] Error 1
28-
29-
from entities import WorkloadGeneratorDomain # type: ignore[import-not-found]
30-
from entities.helpers import setup_logging, cloud_checker, item_checker, Config, \
31-
iso_timestamp, deep_merge_dict # type: ignore[import-not-found]
14+
from .entities import WorkloadGeneratorDomain
15+
from .entities.helpers import setup_logging, cloud_checker, item_checker, Config
3216

3317
LOGGER = logging.getLogger()
3418

0 commit comments

Comments
 (0)