]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Enable import group hacking rule
authorZhiteng Huang <zhithuang@ebaysf.com>
Fri, 27 Jun 2014 10:32:01 +0000 (18:32 +0800)
committerZhiteng Huang <zhithuang@ebaysf.com>
Thu, 14 Aug 2014 05:10:58 +0000 (13:10 +0800)
commite0dae50dc8a10f85240d8a2e749e6437c36a695d
tree6e635a444fb842da73ca7d818d15109c49118591
parent39f32683ef46a9d9f4d041a10dcfbe9c7c09d33d
Enable import group hacking rule

This change enables H305, H307 included in newly updated hacking 0.9
all violations are fixed.

H305, H307 will check if imports are grouped in stdlib, 3rd libs and
OpenStack components.

Change-Id: I612cae64982450a9be5207dbe26a2b52da49dac6
95 files changed:
bin/cinder-backup
bin/cinder-volume
bin/cinder-volume-usage-audit
cinder/api/contrib/hosts.py
cinder/api/contrib/volume_actions.py
cinder/api/contrib/volume_transfer.py
cinder/api/openstack/wsgi.py
cinder/api/urlmap.py
cinder/api/v1/snapshot_metadata.py
cinder/api/v1/volume_metadata.py
cinder/api/v1/volumes.py
cinder/api/v2/snapshot_metadata.py
cinder/api/v2/volumes.py
cinder/backup/api.py
cinder/backup/driver.py
cinder/backup/drivers/ceph.py
cinder/backup/drivers/swift.py
cinder/brick/local_dev/lvm.py
cinder/brick/remotefs/remotefs.py
cinder/db/sqlalchemy/migrate_repo/versions/004_volume_type_to_uuid.py
cinder/db/sqlalchemy/migrate_repo/versions/005_add_source_volume_column.py
cinder/db/sqlalchemy/migrate_repo/versions/021_add_default_quota_class.py
cinder/db/sqlalchemy/models.py
cinder/exception.py
cinder/test.py
cinder/tests/api/contrib/test_admin_actions.py
cinder/tests/api/contrib/test_backups.py
cinder/tests/api/contrib/test_qos_specs_manage.py
cinder/tests/api/contrib/test_services.py
cinder/tests/api/contrib/test_types_extra_specs.py
cinder/tests/api/contrib/test_volume_encryption_metadata.py
cinder/tests/api/contrib/test_volume_manage.py
cinder/tests/api/contrib/test_volume_type_encryption.py
cinder/tests/api/contrib/test_volume_unmanage.py
cinder/tests/api/middleware/test_faults.py
cinder/tests/api/openstack/test_wsgi.py
cinder/tests/api/v1/test_limits.py
cinder/tests/api/v2/test_limits.py
cinder/tests/backup/fake_swift_client.py
cinder/tests/fake_hp_3par_client.py
cinder/tests/fake_hp_lefthand_client.py
cinder/tests/integrated/api/client.py
cinder/tests/integrated/test_volumes.py
cinder/tests/scheduler/test_capacity_weigher.py
cinder/tests/scheduler/test_host_manager.py
cinder/tests/scheduler/test_rpcapi.py
cinder/tests/scheduler/test_volume_number_weigher.py
cinder/tests/test_backup.py
cinder/tests/test_backup_ceph.py
cinder/tests/test_backup_driver_base.py
cinder/tests/test_emc_vnxdirect.py
cinder/tests/test_glusterfs.py
cinder/tests/test_gpfs.py
cinder/tests/test_hds.py
cinder/tests/test_hds_iscsi.py
cinder/tests/test_hp3par.py
cinder/tests/test_hp_msa.py
cinder/tests/test_hplefthand.py
cinder/tests/test_huawei_hvs.py
cinder/tests/test_huawei_t_dorado.py
cinder/tests/test_ibmnas.py
cinder/tests/test_image_utils.py
cinder/tests/test_netapp.py
cinder/tests/test_netapp_eseries_iscsi.py
cinder/tests/test_netapp_nfs.py
cinder/tests/test_netapp_ssc.py
cinder/tests/test_nimble.py
cinder/tests/test_pure.py
cinder/tests/test_rbd.py
cinder/tests/test_storwize_svc.py
cinder/tests/test_volume.py
cinder/tests/test_volume_utils.py
cinder/tests/test_wsgi.py
cinder/tests/volume/drivers/netapp/test_iscsi.py
cinder/tests/windows/test_windows.py
cinder/tests/zonemanager/test_brcd_fc_san_lookup_service.py
cinder/tests/zonemanager/test_brcd_fc_zone_client_cli.py
cinder/tests/zonemanager/test_brcd_fc_zone_driver.py
cinder/tests/zonemanager/test_fc_zone_manager.py
cinder/utils.py
cinder/volume/drivers/emc/emc_smis_common.py
cinder/volume/drivers/hds/hds.py
cinder/volume/drivers/hds/hnas_backend.py
cinder/volume/drivers/hds/iscsi.py
cinder/volume/drivers/hds/nfs.py
cinder/volume/drivers/huawei/rest_common.py
cinder/volume/drivers/huawei/ssh_common.py
cinder/volume/drivers/ibm/storwize_svc/helpers.py
cinder/volume/drivers/netapp/api.py
cinder/volume/drivers/netapp/eseries/client.py
cinder/volume/drivers/prophetstor/dpl_fc.py
cinder/volume/drivers/rbd.py
cinder/volume/drivers/san/hp/hp_lefthand_rest_proxy.py
cinder/volume/drivers/vmware/read_write_util.py
tox.ini