Skip to content

Commit 45950c4

Browse files
author
Sam McHardy
committed
Validate setup.py and examples with flake8
1 parent eb237ec commit 45950c4

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

examples/save_historical_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@ def get_historical_klines(symbol, interval, start_str, end_str=None):
151151
date_to_milliseconds(start),
152152
date_to_milliseconds(end)
153153
),
154-
'w' # set file write mode
154+
'w' # set file write mode
155155
) as f:
156156
f.write(json.dumps(klines))

setup.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@
1313
install_requires=['requests', 'six', 'Twisted', 'pyOpenSSL', 'autobahn', 'service-identity', 'dateparser', 'urllib3', 'chardet', 'certifi', 'cryptography', ],
1414
keywords='binance exchange rest api bitcoin ethereum btc eth neo',
1515
classifiers=[
16-
'Intended Audience :: Developers',
17-
'License :: OSI Approved :: MIT License',
18-
'Operating System :: OS Independent',
19-
'Programming Language :: Python :: 2',
20-
'Programming Language :: Python :: 2.7',
21-
'Programming Language :: Python :: 3',
22-
'Programming Language :: Python :: 3.3',
23-
'Programming Language :: Python :: 3.4',
24-
'Programming Language :: Python :: 3.5',
25-
'Programming Language :: Python :: 3.6',
26-
'Programming Language :: Python',
27-
'Topic :: Software Development :: Libraries :: Python Modules',
16+
'Intended Audience :: Developers',
17+
'License :: OSI Approved :: MIT License',
18+
'Operating System :: OS Independent',
19+
'Programming Language :: Python :: 2',
20+
'Programming Language :: Python :: 2.7',
21+
'Programming Language :: Python :: 3',
22+
'Programming Language :: Python :: 3.3',
23+
'Programming Language :: Python :: 3.4',
24+
'Programming Language :: Python :: 3.5',
25+
'Programming Language :: Python :: 3.6',
26+
'Programming Language :: Python',
27+
'Topic :: Software Development :: Libraries :: Python Modules',
2828
],
2929
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ passenv =
1212
TRAVIS_JOB_ID
1313

1414
[testenv:flake8]
15-
commands = flake8 binance/
15+
commands = flake8 binance/ setup.py examples/
1616
deps = flake8
1717

1818
[travis]

0 commit comments

Comments
 (0)