[SEBA-412] Automated reformat of Python code
Passes of modernize, autopep8, black, then check with flake8
flake8 + manual fixes:
lib/xos-config
lib/xos-kafka
lib/xos-util
xos/coreapi
xos/api
xos/xos_client
Change-Id: Ib23cf84cb13beb3c6381fa0d79594dc9131dc815
diff --git a/lib/xos-config/setup.py b/lib/xos-config/setup.py
index 777a7a1..1e683f1 100644
--- a/lib/xos-config/setup.py
+++ b/lib/xos-config/setup.py
@@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from setuptools import setup
-
try:
from xosutil.autoversion_setup import setup_with_auto_version as setup
except ImportError:
@@ -25,15 +23,14 @@
from xosconfig.version import __version__
-setup(name='XosConfig',
- version=__version__,
- description='XOS Config Library',
- author='Matteo Scandolo',
- author_email='teo@onlab.us',
- packages=['xosconfig'],
- include_package_data=True,
- # TODO add all deps to the install_requires section
- install_requires=[
- 'pykwalify>=1.6.0'
- ]
- )
+setup(
+ name="XosConfig",
+ version=__version__,
+ description="XOS Config Library",
+ author="Matteo Scandolo",
+ author_email="teo@onlab.us",
+ packages=["xosconfig"],
+ include_package_data=True,
+ # TODO add all deps to the install_requires section
+ install_requires=["pykwalify>=1.6.0"],
+)