Use config[] not config.get() (#8454)

* Typo fix in CONTRIBUTING.md

* Alter references to config.get('FOO') to use preferred config['FOO']

* Set missing configuration constants in superset/config.py

* Misc. CI fixes

* Add type annotation for FEATURE_FLATGS
This commit is contained in:
Will Barrett
2019-10-30 16:19:16 -07:00
committed by Maxime Beauchemin
parent 3cba1bd990
commit e4ca44e95f
37 changed files with 162 additions and 161 deletions

View File

@@ -30,7 +30,7 @@ from superset.models import core as models
from superset.models.core import Database
from superset.utils.core import get_example_database
BASE_DIR = app.config.get("BASE_DIR")
BASE_DIR = app.config["BASE_DIR"]
class SupersetTestCase(unittest.TestCase):