fix: #1631: linter fix and tox platform selector

Signed-off-by: Harsha Narayana <harsha2k4@gmail.com>
This commit is contained in:
Harsha Narayana 2019-07-13 13:29:17 +05:30
parent b3ada6308b
commit a019ff61e3
No known key found for this signature in database
GPG Key ID: 8AF211CB60D4B28C
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
from sanic.__version__ import __version__
from sanic.app import Sanic from sanic.app import Sanic
from sanic.blueprints import Blueprint from sanic.blueprints import Blueprint
from sanic.__version__ import __version__
__all__ = ["Sanic", "Blueprint"]
__all__ = ["Sanic", "Blueprint", "__version__"]

View File

@ -57,7 +57,7 @@ commands =
bandit --recursive sanic --skip B404,B101 --exclude sanic/reloader_helpers.py bandit --recursive sanic --skip B404,B101 --exclude sanic/reloader_helpers.py
[testenv:docs] [testenv:docs]
platform = linux2|darwin platform = linux|linux2|darwin
whitelist_externals = make whitelist_externals = make
deps = deps =
sphinx>=2.1.2 sphinx>=2.1.2