Clean-up for tox -epy35 errors
Py35 does allow for the loading of modules in the same folder without specifying the patch. Updated import to use absolute pathing. This patch set also remove `# noqa` in EOF import statements. Those should be addressed in future patch set that do PEP8 clean up.
This commit is contained in:
parent
e30684b0c3
commit
e07d769270
3
.gitignore
vendored
3
.gitignore
vendored
@ -42,9 +42,10 @@ var/
|
|||||||
.eggs/
|
.eggs/
|
||||||
.installed.cfg
|
.installed.cfg
|
||||||
*.egg
|
*.egg
|
||||||
|
.python-version
|
||||||
|
|
||||||
# PyInstaller
|
# PyInstaller
|
||||||
# Usually these files are written by a python script from a template
|
# Usually these files are written by a python script from a template
|
||||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||||
*.manifest
|
*.manifest
|
||||||
*.spec
|
*.spec
|
||||||
|
@ -297,7 +297,7 @@ def flush():
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
from groups import Group # noqa
|
from valet.api.db.models.music.groups import Group
|
||||||
from ostro import PlacementRequest, PlacementResult, Event # noqa
|
from valet.api.db.models.music.ostro import PlacementRequest, PlacementResult, Event
|
||||||
from placements import Placement # noqa
|
from valet.api.db.models.music.placements import Placement
|
||||||
from plans import Plan # noqa
|
from valet.api.db.models.music.plans import Plan
|
||||||
|
@ -11,11 +11,10 @@
|
|||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
# Modified: Mar. 15, 2016
|
# Modified: Mar. 15, 2016
|
||||||
|
|
||||||
import openstack_utils
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from valet.engine.optimizer.app_manager.app_topology_base import VM
|
from valet.engine.optimizer.app_manager.app_topology_base import VM
|
||||||
|
import valet.engine.optimizer.ostro.openstack_utils
|
||||||
|
|
||||||
_SCOPE = 'aggregate_instance_extra_specs'
|
_SCOPE = 'aggregate_instance_extra_specs'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user