From 16476b266f759f85e9c7897a130bf2ca11f48557 Mon Sep 17 00:00:00 2001 From: Jay Faulkner Date: Fri, 10 Jun 2016 15:16:11 -0700 Subject: [PATCH] Make dir name more clear Not all HWM examples will be device-centric --- .../__init__.py | 0 .../example_device.py | 0 setup.cfg | 4 ++-- tox.ini | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename {example_device_hardware_managers => example_hardware_managers}/__init__.py (100%) rename {example_device_hardware_managers => example_hardware_managers}/example_device.py (100%) diff --git a/example_device_hardware_managers/__init__.py b/example_hardware_managers/__init__.py similarity index 100% rename from example_device_hardware_managers/__init__.py rename to example_hardware_managers/__init__.py diff --git a/example_device_hardware_managers/example_device.py b/example_hardware_managers/example_device.py similarity index 100% rename from example_device_hardware_managers/example_device.py rename to example_hardware_managers/example_device.py diff --git a/setup.cfg b/setup.cfg index d22424a..b350b91 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,8 +13,8 @@ classifier = [files] packages = - example_device_hardware_manager + example_hardware_managers [entry_points] ironic_python_agent.hardware_managers = - example_device = example_device_hardware_manager.example_device:ExampleDeviceHardwareManager + example_device = example_hardware_managers.example_device:ExampleDeviceHardwareManager diff --git a/tox.ini b/tox.ini index 945a1a6..41da55e 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ commands = [testenv:pep8] commands = - flake8 {posargs:example_device_hardware_managers} + flake8 {posargs:example_hardware_managers} [flake8] # E711: ignored because it is normal to use "column == None" in sqlalchemy