Refactoring: Made complete codebase PEP8 compatible. 49/6149/3 v4.0.0
authorpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 15 May 2018 15:10:27 +0000 (17:10 +0200)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Tue, 15 May 2018 15:45:37 +0000 (17:45 +0200)
commit72f09885db3935e77901c3dee132cb176b927c7b
tree56e0666c4e3e5e2dbb92d4c9ee29d2625f5c21bc
parent3e16acbebd2c6669c1bbe5a7e3bb313aa1494e20
Refactoring: Made complete codebase PEP8 compatible.

Only PEP8 rule E501 (line too long) is not yet reflected
by this change.

The patch also adds automated code style checks to the
CI test stage using flake8.
It will let the tests fail if there is a code style
violation.

Change-Id: I90956dd424a46691546ef720351757d3c43451a7
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
79 files changed:
devops-stages/stage-archive.sh
devops-stages/stage-build.sh
devops-stages/stage-test.sh
setup-cli.py
setup.py
src/emuvim/__init__.py
src/emuvim/api/__init__.py
src/emuvim/api/openstack/__init__.py
src/emuvim/api/openstack/chain_api.py
src/emuvim/api/openstack/compute.py
src/emuvim/api/openstack/docker_util.py
src/emuvim/api/openstack/heat_parser.py
src/emuvim/api/openstack/helper.py
src/emuvim/api/openstack/ip_handler.py
src/emuvim/api/openstack/manage.py
src/emuvim/api/openstack/openstack_api_endpoint.py
src/emuvim/api/openstack/openstack_dummies/__init__.py
src/emuvim/api/openstack/openstack_dummies/base_openstack_dummy.py
src/emuvim/api/openstack/openstack_dummies/glance_dummy_api.py
src/emuvim/api/openstack/openstack_dummies/heat_dummy_api.py
src/emuvim/api/openstack/openstack_dummies/keystone_dummy_api.py
src/emuvim/api/openstack/openstack_dummies/neutron_dummy_api.py
src/emuvim/api/openstack/openstack_dummies/neutron_sfc_dummy_api.py
src/emuvim/api/openstack/openstack_dummies/nova_dummy_api.py
src/emuvim/api/openstack/resources/__init__.py
src/emuvim/api/openstack/resources/flow_classifier.py
src/emuvim/api/openstack/resources/image.py
src/emuvim/api/openstack/resources/instance_flavor.py
src/emuvim/api/openstack/resources/load_balancer.py
src/emuvim/api/openstack/resources/model.py
src/emuvim/api/openstack/resources/net.py
src/emuvim/api/openstack/resources/port.py
src/emuvim/api/openstack/resources/port_chain.py
src/emuvim/api/openstack/resources/port_pair.py
src/emuvim/api/openstack/resources/port_pair_group.py
src/emuvim/api/openstack/resources/resource.py
src/emuvim/api/openstack/resources/router.py
src/emuvim/api/openstack/resources/server.py
src/emuvim/api/openstack/resources/stack.py
src/emuvim/api/openstack/resources/template.py
src/emuvim/api/rest/__init__.py
src/emuvim/api/rest/compute.py
src/emuvim/api/rest/monitor.py
src/emuvim/api/rest/network.py
src/emuvim/api/rest/rest_api_endpoint.py
src/emuvim/api/sonata/__init__.py
src/emuvim/api/sonata/dummygatekeeper.py
src/emuvim/cli/__init__.py
src/emuvim/cli/prometheus.py
src/emuvim/cli/rest/__init__.py
src/emuvim/cli/rest/compute.py
src/emuvim/cli/rest/datacenter.py
src/emuvim/cli/rest/monitor.py
src/emuvim/cli/rest/network.py
src/emuvim/cli/son_emu_cli.py
src/emuvim/dashboard/__init__.py
src/emuvim/dcemulator/__init__.py
src/emuvim/dcemulator/link.py
src/emuvim/dcemulator/monitoring.py
src/emuvim/dcemulator/net.py
src/emuvim/dcemulator/node.py
src/emuvim/dcemulator/resourcemodel/__init__.py
src/emuvim/dcemulator/resourcemodel/upb/__init__.py
src/emuvim/dcemulator/resourcemodel/upb/simple.py
src/emuvim/dcemulator/son_emu_simple_switch_13.py
src/emuvim/examples/default_single_dc_topology.py
src/emuvim/examples/openstack_single_dc.py
src/emuvim/examples/osm_default_daemon_topology_2_pop.py
src/emuvim/test/__init__.py
src/emuvim/test/api_base.py
src/emuvim/test/api_base_openstack.py
src/emuvim/test/base.py
src/emuvim/test/integrationtests/__init__.py
src/emuvim/test/unittests/__init__.py
src/emuvim/test/unittests/test_emulator.py
src/emuvim/test/unittests/test_openstack.py
src/emuvim/test/unittests/test_resourcemodel.py
src/emuvim/test/unittests/test_restapi.py
src/emuvim/test/unittests/test_sonata_dummy_gatekeeper.py