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

Commit 56d3d64

Browse files
authored
Minor cleanup (#641)
Remove AUTHORS file. Clean up README and setup.py.
1 parent a293c92 commit 56d3d64

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

AUTHORS

Lines changed: 0 additions & 1 deletion
This file was deleted.

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,14 +142,14 @@ You can customize while initializing a tracer.
142142
from opencensus.trace import file_exporter
143143
from opencensus.trace import tracer as tracer_module
144144
from opencensus.trace.propagation import google_cloud_format
145-
from opencensus.trace.samplers import probability
145+
from opencensus.trace.samplers import ProbabilitySampler
146146
147147
config_integration.trace_integrations(['httplib'])
148148
149149
tracer = tracer_module.Tracer(
150150
exporter=file_exporter.FileExporter(file_name='traces'),
151151
propagator=google_cloud_format.GoogleCloudFormatPropagator(),
152-
sampler=probability.ProbabilitySampler(rate=0.5),
152+
sampler=ProbabilitySampler(rate=0.5),
153153
)
154154
155155
with tracer.span(name='parent'):

nox.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,12 @@ def lint(session):
129129

130130
session.run(
131131
'flake8',
132-
'--exclude=contrib/opencensus-ext-ocagent/opencensus/ext/ocagent/trace_exporter/gen/',
133-
'context/', 'contrib/', 'opencensus/', 'tests/', 'examples/')
132+
'context/',
133+
'contrib/',
134+
'opencensus/',
135+
'tests/',
136+
'examples/',
137+
)
134138

135139

136140
@nox.session

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
author_email='census-developers@googlegroups.com',
2626
classifiers=[
2727
'Intended Audience :: Developers',
28-
'Development Status :: 3 - Alpha',
28+
'Development Status :: 4 - Beta',
2929
'Intended Audience :: Developers',
3030
'License :: OSI Approved :: Apache Software License',
3131
'Programming Language :: Python',
@@ -35,6 +35,7 @@
3535
'Programming Language :: Python :: 3.4',
3636
'Programming Language :: Python :: 3.5',
3737
'Programming Language :: Python :: 3.6',
38+
'Programming Language :: Python :: 3.7',
3839
],
3940
description='A stats collection and distributed tracing framework',
4041
include_package_data=True,

0 commit comments

Comments
 (0)