From 9e6b12e6b2ecebb6334b6f2a7a1b308e4d3c96e8 Mon Sep 17 00:00:00 2001 From: "Chaozhe.Chen" Date: Tue, 9 Feb 2016 23:03:31 +0800 Subject: [PATCH] Use "# noqa" instead of "#flake8: noqa" "# flake8: noqa" option disables all checks for the whole file. To disable one line we should use "# noqa". Change-Id: I7859eab30563d0eb91c5f055d1b523173b562e54 Closes-bug: #1540254 --- swiftclient/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swiftclient/__init__.py b/swiftclient/__init__.py index b412f13..dc192af 100644 --- a/swiftclient/__init__.py +++ b/swiftclient/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Copyright (c) 2012 Rackspace -# flake8: noqa +# # 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 @@ -17,7 +17,7 @@ """ OpenStack Swift Python client binding. """ -from .client import * +from .client import * # noqa # At setup.py time, we haven't installed anything yet, so there # is nothing that is able to set this version property. Squelching