Skip to content

Commit 1234c3e

Browse files
committed
chore(release): version 1.11.0
1 parent 130eed1 commit 1234c3e

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

setup.cfg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@ test=pytest
44

55
[bdist_wheel]
66
universal = 1
7-
8-
[semantic_release]
9-
version_variable = werobot/__init__.py:__version__

tests/test_robot.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import hashlib
44
import time
5-
import six
65
import os
76
import pytest
87

@@ -34,8 +33,7 @@ def test_signature_checker():
3433
sign = [token, timestamp, nonce]
3534
sign.sort()
3635
sign = ''.join(sign)
37-
if six.PY3:
38-
sign = sign.encode()
36+
sign = sign.encode()
3937
sign = hashlib.sha1(sign).hexdigest()
4038

4139
assert robot.check_signature(timestamp, nonce, sign)

werobot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = '1.10.1'
1+
__version__ = '1.11.0'
22
__author__ = 'whtsky'
33
__license__ = 'MIT'
44

0 commit comments

Comments
 (0)