Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 8128212

Browse files
authored
fix lint (#568)
1 parent 2d528e8 commit 8128212

24 files changed

Lines changed: 26 additions & 23 deletions

File tree

contrib/opencensus-correlation/opencensus/common/correlationcontext/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
from opencensus.common.correlationcontext.correlationcontext import CorrelationContext
15+
from opencensus.common.correlationcontext.correlationcontext \
16+
import CorrelationContext
1617

1718

1819
__all__ = ['CorrelationContext']

contrib/opencensus-correlation/opencensus/common/correlationcontext/correlationcontext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
1516
class CorrelationContext(object):
1617
pass

contrib/opencensus-correlation/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@
4343
license='Apache-2.0',
4444
packages=find_packages(exclude=('tests',)),
4545
namespace_packages=[],
46-
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-correlation',
46+
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-correlation', # noqa: E501
4747
zip_safe=False,
4848
)

contrib/opencensus-correlation/tests/test_correlation_context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import unittest
1616
from opencensus.common.correlationcontext import CorrelationContext
1717

18+
1819
class CorrelationContextTest(unittest.TestCase):
1920
def test_ctor_default(self):
2021
self.assertTrue(CorrelationContext())

contrib/opencensus-ext-dbapi/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
license='Apache-2.0',
4646
packages=find_packages(exclude=('tests',)),
4747
namespace_packages=[],
48-
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-dbapi',
48+
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-dbapi', # noqa: E501
4949
zip_safe=False,
5050
)

contrib/opencensus-ext-django/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
license='Apache-2.0',
4747
packages=find_packages(exclude=('examples', 'tests',)),
4848
namespace_packages=[],
49-
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-django',
49+
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-django', # noqa: E501
5050
zip_safe=False,
5151
)

contrib/opencensus-ext-flask/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
license='Apache-2.0',
4747
packages=find_packages(exclude=('examples', 'tests',)),
4848
namespace_packages=[],
49-
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-flask',
49+
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-flask', # noqa: E501
5050
zip_safe=False,
5151
)

contrib/opencensus-ext-google-cloud-clientlibs/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@
4747
license='Apache-2.0',
4848
packages=find_packages(exclude=('tests',)),
4949
namespace_packages=[],
50-
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-google-cloud-clientlibs',
50+
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-google-cloud-clientlibs', # noqa: E501
5151
zip_safe=False,
5252
)

contrib/opencensus-ext-grpc/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
license='Apache-2.0',
4747
packages=find_packages(exclude=('examples', 'tests',)),
4848
namespace_packages=[],
49-
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-grpc',
49+
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-grpc', # noqa: E501
5050
zip_safe=False,
5151
)

contrib/opencensus-ext-httplib/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545
license='Apache-2.0',
4646
packages=find_packages(exclude=('tests',)),
4747
namespace_packages=[],
48-
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-httplib',
48+
url='https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-httplib', # noqa: E501
4949
zip_safe=False,
5050
)

0 commit comments

Comments
 (0)