From a62baa099db28b8faf39de13e0e1e453fad5700d Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Wed, 25 Feb 2015 12:51:46 -0800 Subject: [PATCH] Fix and re-enable H105 Enable Hacking Hacking H105 (Don't use author tags, as we have git for that) Change-Id: I7c5379da34d21717feab19684ffc5ead6d50399b --- tempest/api/network/test_metering_extensions.py | 2 -- tempest/api/object_storage/test_account_quotas.py | 2 -- tempest/api/object_storage/test_account_quotas_negative.py | 2 -- tempest/api/object_storage/test_account_services_negative.py | 2 -- tempest/api/object_storage/test_container_acl_negative.py | 2 -- tempest/api/object_storage/test_container_staticweb.py | 2 -- tempest/api/object_storage/test_crossdomain.py | 2 -- tempest/api/object_storage/test_healthcheck.py | 2 -- tempest/api/object_storage/test_object_formpost.py | 2 -- tempest/api/object_storage/test_object_formpost_negative.py | 1 - tempest/api/object_storage/test_object_temp_url.py | 2 -- tempest/api/object_storage/test_object_temp_url_negative.py | 2 -- tempest/api/orchestration/stacks/test_swift_resources.py | 2 -- tempest/api/volume/admin/test_volume_quotas.py | 2 -- tempest/scenario/test_swift_telemetry_middleware.py | 2 -- tempest/services/volume/json/admin/volume_quotas_client.py | 2 -- tox.ini | 2 +- 17 files changed, 1 insertion(+), 32 deletions(-) diff --git a/tempest/api/network/test_metering_extensions.py b/tempest/api/network/test_metering_extensions.py index c80d0e9466..3fbb7b7708 100644 --- a/tempest/api/network/test_metering_extensions.py +++ b/tempest/api/network/test_metering_extensions.py @@ -1,7 +1,5 @@ # Copyright (C) 2014 eNovance SAS # -# Author: Emilien Macchi -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_account_quotas.py b/tempest/api/object_storage/test_account_quotas.py index e3f5f3d750..f3a1817233 100644 --- a/tempest/api/object_storage/test_account_quotas.py +++ b/tempest/api/object_storage/test_account_quotas.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_account_quotas_negative.py b/tempest/api/object_storage/test_account_quotas_negative.py index 783bf1a0d7..1f51d5ff61 100644 --- a/tempest/api/object_storage/test_account_quotas_negative.py +++ b/tempest/api/object_storage/test_account_quotas_negative.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_account_services_negative.py b/tempest/api/object_storage/test_account_services_negative.py index 9acf668cc2..22594d1a55 100644 --- a/tempest/api/object_storage/test_account_services_negative.py +++ b/tempest/api/object_storage/test_account_services_negative.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_container_acl_negative.py b/tempest/api/object_storage/test_container_acl_negative.py index edc052e9e7..af03c03ed6 100644 --- a/tempest/api/object_storage/test_container_acl_negative.py +++ b/tempest/api/object_storage/test_container_acl_negative.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_container_staticweb.py b/tempest/api/object_storage/test_container_staticweb.py index 8a619117ce..7c1dc4d16f 100644 --- a/tempest/api/object_storage/test_container_staticweb.py +++ b/tempest/api/object_storage/test_container_staticweb.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_crossdomain.py b/tempest/api/object_storage/test_crossdomain.py index 66e81763ef..773a9c73d2 100644 --- a/tempest/api/object_storage/test_crossdomain.py +++ b/tempest/api/object_storage/test_crossdomain.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_healthcheck.py b/tempest/api/object_storage/test_healthcheck.py index 6fbd77b8fa..08e895e761 100644 --- a/tempest/api/object_storage/test_healthcheck.py +++ b/tempest/api/object_storage/test_healthcheck.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_object_formpost.py b/tempest/api/object_storage/test_object_formpost.py index 7a9fcf6bf5..66ad6c79b2 100644 --- a/tempest/api/object_storage/test_object_formpost.py +++ b/tempest/api/object_storage/test_object_formpost.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Christian Schwede -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_object_formpost_negative.py b/tempest/api/object_storage/test_object_formpost_negative.py index cdd9d2cc55..c96c5b3441 100644 --- a/tempest/api/object_storage/test_object_formpost_negative.py +++ b/tempest/api/object_storage/test_object_formpost_negative.py @@ -1,5 +1,4 @@ # Copyright (C) 2013 eNovance SAS -# Author: Joe H. Rahme # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain diff --git a/tempest/api/object_storage/test_object_temp_url.py b/tempest/api/object_storage/test_object_temp_url.py index dd4fd17aa4..80aad9dd24 100644 --- a/tempest/api/object_storage/test_object_temp_url.py +++ b/tempest/api/object_storage/test_object_temp_url.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/object_storage/test_object_temp_url_negative.py b/tempest/api/object_storage/test_object_temp_url_negative.py index ca342933c0..3b891edde0 100644 --- a/tempest/api/object_storage/test_object_temp_url_negative.py +++ b/tempest/api/object_storage/test_object_temp_url_negative.py @@ -1,7 +1,5 @@ # Copyright (C) 2013 eNovance SAS # -# Author: Joe H. Rahme -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/orchestration/stacks/test_swift_resources.py b/tempest/api/orchestration/stacks/test_swift_resources.py index 83abc91892..0936de54fc 100644 --- a/tempest/api/orchestration/stacks/test_swift_resources.py +++ b/tempest/api/orchestration/stacks/test_swift_resources.py @@ -1,8 +1,6 @@ # -*- coding: utf-8 -*- # Copyright (C) 2013 eNovance SAS # -# Author: Chmouel Boudjnah -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/api/volume/admin/test_volume_quotas.py b/tempest/api/volume/admin/test_volume_quotas.py index f41a97ecbc..2840e8db2c 100644 --- a/tempest/api/volume/admin/test_volume_quotas.py +++ b/tempest/api/volume/admin/test_volume_quotas.py @@ -1,7 +1,5 @@ # Copyright (C) 2014 eNovance SAS # -# Author: Sylvain Baubeau -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tempest/scenario/test_swift_telemetry_middleware.py b/tempest/scenario/test_swift_telemetry_middleware.py index dd6d855425..2f826b234e 100644 --- a/tempest/scenario/test_swift_telemetry_middleware.py +++ b/tempest/scenario/test_swift_telemetry_middleware.py @@ -1,7 +1,5 @@ -# # Copyright 2014 Red Hat # -# Author: Chris Dent # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/tempest/services/volume/json/admin/volume_quotas_client.py b/tempest/services/volume/json/admin/volume_quotas_client.py index 19d320fff7..616f8e45d2 100644 --- a/tempest/services/volume/json/admin/volume_quotas_client.py +++ b/tempest/services/volume/json/admin/volume_quotas_client.py @@ -1,7 +1,5 @@ # Copyright (C) 2014 eNovance SAS # -# Author: Sylvain Baubeau -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/tox.ini b/tox.ini index 7313a476ea..0640932209 100644 --- a/tox.ini +++ b/tox.ini @@ -123,6 +123,6 @@ import_exceptions = tempest.services # E123 skipped because it is ignored by default in the default pep8 # E129 skipped because it is too limiting when combined with other rules # Skipped because of new hacking 0.9: H405 -ignore = E125,E123,E129,H404,H405,H105 +ignore = E125,E123,E129,H404,H405 show-source = True exclude = .git,.venv,.tox,dist,doc,openstack,*egg