[fix] Fixing regression from #9161 (#9641)

Co-authored-by: John Bodley <john.bodley@airbnb.com>
This commit is contained in:
John Bodley 2020-04-23 22:51:33 -07:00 committed by GitHub
parent a6cedaaa87
commit 8ae92b50ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 16 deletions

View File

@ -17,6 +17,7 @@
# isort:skip_file # isort:skip_file
from typing import Any, Dict, NamedTuple, List, Tuple, Union from typing import Any, Dict, NamedTuple, List, Tuple, Union
import tests.test_app
from superset.connectors.sqla.models import SqlaTable, TableColumn from superset.connectors.sqla.models import SqlaTable, TableColumn
from superset.db_engine_specs.druid import DruidEngineSpec from superset.db_engine_specs.druid import DruidEngineSpec
from superset.models.core import Database from superset.models.core import Database

31
tox.ini
View File

@ -33,14 +33,6 @@ setenv =
whitelist_externals = whitelist_externals =
npm npm
[testenv:thumbnails]
setenv =
SUPERSET_CONFIG = tests.superset_test_config_thumbnails
deps =
-rrequirements.txt
-rrequirements-dev.txt
.[postgres]
[testenv:black] [testenv:black]
commands = commands =
black --check setup.py superset tests black --check setup.py superset tests
@ -99,6 +91,14 @@ setenv =
SUPERSET_CONFIG = tests.superset_test_config_sqllab_backend_persist SUPERSET_CONFIG = tests.superset_test_config_sqllab_backend_persist
SUPERSET_HOME = {envtmpdir} SUPERSET_HOME = {envtmpdir}
[testenv:docs]
commands =
sphinx-build -b html docs _build/html -W
deps =
-rrequirements.txt
-rrequirements-dev.txt
-rdocs/requirements.txt
[testenv:eslint] [testenv:eslint]
changedir = {toxinidir}/superset-frontend changedir = {toxinidir}/superset-frontend
commands = commands =
@ -156,28 +156,27 @@ deps =
-rrequirements.txt -rrequirements.txt
-rrequirements-dev.txt -rrequirements-dev.txt
[testenv:docs] [testenv:thumbnails]
commands = setenv =
cp -r superset-frontend/images/ docs/_static/images/ SUPERSET_CONFIG = tests.superset_test_config_thumbnails
sphinx-build -b html docs _build/html -W
deps = deps =
-rrequirements.txt -rrequirements.txt
-rrequirements-dev.txt -rrequirements-dev.txt
-rdocs/requirements.txt .[postgres]
[tox] [tox]
envlist = envlist =
fossa
black black
cypress-dashboard cypress-dashboard
cypress-explore cypress-explore
cypress-sqllab cypress-sqllab
cypress-sqllab-backend-persist cypress-sqllab-backend-persist
docs
eslint eslint
fossa
isort isort
javascript javascript
license-check
mypy mypy
pylint pylint
license-check
docs
skipsdist = true skipsdist = true