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

Commit 6a87e2f

Browse files
authored
hotfix (#915)
1 parent e8aee41 commit 6a87e2f

File tree

193 files changed

+2751
-2820
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+2751
-2820
lines changed

.isort.cfg

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[settings]
2+
include_trailing_comma=True
3+
force_grid_wrap=0
4+
use_parentheses=True
5+
line_length=79
6+
7+
; 3 stands for Vertical Hanging Indent, e.g.
8+
; from third_party import (
9+
; lib1,
10+
; lib2,
11+
; lib3,
12+
; )
13+
; docs: https://github.com/timothycrosley/isort#multi-line-output-modes
14+
multi_line_output=3
15+
known_future_library = six,six.moves,__future__
16+
known_third_party=google,mock,pymysql,sqlalchemy,psycopg2,mysql,requests,django,pytest,grpc,flask,bitarray,prometheus_client,psutil,pymongo,wrapt,thrift,retrying,pyramid,werkzeug,gevent
17+
known_first_party=opencensus

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,3 @@ install:
1515
script:
1616
- tox
1717
- touch docs/.nojekyll
18-
19-
branches:
20-
only:
21-
- master

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## Unreleased
44

5+
## 0.7.9
6+
Released 2020-06-17
7+
8+
- Hotfix
9+
([#915](https://github.com/census-instrumentation/opencensus-python/pull/915))
10+
511
## 0.7.8
612
Released 2020-06-17
713

context/opencensus-context/examples/async_span.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
import asyncio
16+
1617
from opencensus.common.runtime_context import RuntimeContext
1718

1819
RuntimeContext.register_slot('current_span', None)

context/opencensus-context/examples/explicit_threading.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
from threading import Thread
16+
1617
from opencensus.common.runtime_context import RuntimeContext
1718

1819
RuntimeContext.register_slot('operation_id', '<empty>')

context/opencensus-context/examples/thread_pool.py

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

15-
from multiprocessing.dummy import Pool as ThreadPool
16-
import time
1715
import threading
16+
import time
17+
from multiprocessing.dummy import Pool as ThreadPool
18+
1819
from opencensus.common.runtime_context import RuntimeContext
1920

2021
RuntimeContext.register_slot('operation_id', '<empty>')

context/opencensus-context/setup.py

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

15-
from setuptools import find_packages
16-
from setuptools import setup
15+
from setuptools import find_packages, setup
16+
1717
from version import __version__
1818

1919
setup(

context/opencensus-context/tests/test_runtime_context.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
import unittest
16+
1617
from opencensus.common.runtime_context import RuntimeContext
1718

1819

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +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 \
16-
import CorrelationContext
17-
15+
from opencensus.common.correlationcontext.correlationcontext import (
16+
CorrelationContext,
17+
)
1818

1919
__all__ = ['CorrelationContext']

contrib/opencensus-correlation/setup.py

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

15-
from setuptools import find_packages
16-
from setuptools import setup
15+
from setuptools import find_packages, setup
16+
1717
from version import __version__
1818

1919
setup(

0 commit comments

Comments
 (0)