Skip to content

Commit 364c8a7

Browse files
committed
fix flake8 and sphinx
1 parent 5349248 commit 364c8a7

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

riemann_client/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ def create_dict(event):
153153
value = list(value)
154154
elif descriptor.name == 'attributes':
155155
value = dict(((a.key, a.value) for a in value))
156-
elif descriptor.type == google.protobuf.descriptor.FieldDescriptor.TYPE_FLOAT:
156+
elif descriptor.type == \
157+
google.protobuf.descriptor.FieldDescriptor.TYPE_FLOAT:
157158
value = round(value, 1)
158159
data[descriptor.name] = value
159160

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ exclude_lines=
3838
# $ tox -e docs && firefox docs/_build/index.hmtl
3939

4040
[testenv:docs]
41-
basepython=python2.6
41+
basepython=python2.7
4242
commands=sphinx-build -q -QE docs/ docs/_build/
4343
deps=
4444
sphinx

0 commit comments

Comments
 (0)