nova/nova/virt/vmwareapi
Sean Mooney f3d48000b1 Add autopep8 to tox and pre-commit
autopep8 is a code formating tool that makes python code pep8
compliant without changing everything. Unlike black it will
not radically change all code and the primary change to the
existing codebase is adding a new line after class level doc strings.

This change adds a new tox autopep8 env to manually run it on your
code before you submit a patch, it also adds autopep8 to pre-commit
so if you use pre-commit it will do it for you automatically.

This change runs autopep8 in diff mode with --exit-code in the pep8
tox env so it will fail if autopep8 would modify your code if run
in in-place mode. This allows use to gate on autopep8 not modifying
patches that are submited. This will ensure authorship of patches is
maintianed.

The intent of this change is to save the large amount of time we spend
on ensuring style guidlines are followed automatically to make it
simpler for both new and old contibutors to work on nova and save
time and effort for all involved.

Change-Id: Idd618d634cc70ae8d58fab32f322e75bfabefb9d
2021-11-08 12:37:27 +00:00
..
__init__.py VMware: delete the driver VMwareESXDriver 2014-10-20 23:45:58 -07:00
constants.py VMware: add missing os types in vSphere sdk 6.5 2018-08-15 13:59:14 +00:00
driver.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
ds_util.py VMWare: Use WithRetrieval to get all results 2021-08-18 10:54:42 +02:00
error_util.py VMware: clean up exceptions 2015-07-15 08:16:46 -07:00
host.py Add autopep8 to tox and pre-commit 2021-11-08 12:37:27 +00:00
imagecache.py vmware: Use oslo.vmware's get_moref_value() 2021-04-19 11:35:54 +02:00
images.py Remove 'nova.image.api' module 2020-02-18 11:45:39 +00:00
network_util.py vmware: Remove vestigial nova-network support 2019-11-29 17:20:03 +00:00
vif.py VMWare: Use get_hardware_devices throughout 2021-08-18 15:01:27 +02:00
vim_util.py VMware VMDK detach: get adapter type from instance VM 2019-09-25 06:20:24 -07:00
vm_util.py Merge "Retry on vmware create_vm when it fails" 2021-08-24 13:40:43 +00:00
vmops.py Merge "VMWare: Use WithRetrieval to get all results" 2021-08-23 19:32:50 +00:00
volumeops.py VMWare: Use get_hardware_devices throughout 2021-08-18 15:01:27 +02:00