Skip to content

Commit 5607b8b

Browse files
author
legolas.zhan
committed
fixed tox -e doc
1 parent d5f7866 commit 5607b8b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213
from hobbit_core import HobbitManager # noqa
214214

215215
app = Flask('', root_path='.')
216+
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///:memory"
216217
db = SQLAlchemy()
217218
db.init_app(app)
218219
hobbit = HobbitManager()

tox.ini

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# TOX CONFIGURATION
22
#
3-
# pyenv virtualenv -p python2.7 2.7 py27
43
# pyenv virtualenv -p python3.7 3.7.10 py37
54
# pyenv virtualenv -p python3.8 3.8.10 py38
65
# pyenv virtualenv -p python3.9 3.9.5 py39
76
# pyenv virtualenv -p python3.10 3.10.0 py310
87
#
9-
# pyenv shell py36 py37 py38 py39 py310
8+
# pyenv shell py37 py38 py39 py310
109

1110
[tox]
1211
envlist = doc,py{37,38,39,310}
@@ -19,7 +18,6 @@ deps =
1918
sphinx
2019
sphinx-autobuild
2120
flask-sphinx-themes
22-
MarkupSafe==2.0.1
2321
whitelist_externals = make
2422
commands = make html
2523

@@ -36,7 +34,6 @@ deps =
3634
pytest-env
3735
flake8
3836
pipenv
39-
MarkupSafe==2.0.1
4037
blinker[flask]
4138
commands =
4239
flake8 .

0 commit comments

Comments
 (0)