From a019ff61e371b1775c25a86f9b8d3901756a1f46 Mon Sep 17 00:00:00 2001 From: Harsha Narayana Date: Sat, 13 Jul 2019 13:29:17 +0530 Subject: [PATCH] fix: #1631: linter fix and tox platform selector Signed-off-by: Harsha Narayana --- sanic/__init__.py | 5 +++-- tox.ini | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sanic/__init__.py b/sanic/__init__.py index 448fc0fb..5fcb0fe8 100644 --- a/sanic/__init__.py +++ b/sanic/__init__.py @@ -1,5 +1,6 @@ +from sanic.__version__ import __version__ from sanic.app import Sanic from sanic.blueprints import Blueprint -from sanic.__version__ import __version__ -__all__ = ["Sanic", "Blueprint"] + +__all__ = ["Sanic", "Blueprint", "__version__"] diff --git a/tox.ini b/tox.ini index d13dc67c..5ae5b5b5 100644 --- a/tox.ini +++ b/tox.ini @@ -57,7 +57,7 @@ commands = bandit --recursive sanic --skip B404,B101 --exclude sanic/reloader_helpers.py [testenv:docs] -platform = linux2|darwin +platform = linux|linux2|darwin whitelist_externals = make deps = sphinx>=2.1.2