Previously tests would fail when `pipenv run pytest` was run because the `FLASK_ENV` was not set. Rather than having to remember to run `FLAKS_ENV=test pipenv run pytest`, we can use `pytest-env` to set the env variable. The `D:` prefix tells `pytest-env` to not override an existing value for the variable.
39 lines
555 B
TOML
39 lines
555 B
TOML
[[source]]
|
|
url = "https://pypi.org/simple"
|
|
verify_ssl = true
|
|
name = "pypi"
|
|
|
|
[packages]
|
|
webassets = "*"
|
|
Unipath = "*"
|
|
pendulum = "*"
|
|
redis = "*"
|
|
sqlalchemy = "*"
|
|
alembic = "*"
|
|
"psycopg2-binary" = "*"
|
|
flask = "*"
|
|
flask-sqlalchemy = "*"
|
|
flask-assets = "*"
|
|
flask-session = "*"
|
|
flask-wtf = "*"
|
|
pyopenssl = "*"
|
|
requests = "*"
|
|
|
|
[dev-packages]
|
|
bandit = "*"
|
|
pytest = "*"
|
|
ipython = "*"
|
|
ipdb = "*"
|
|
pylint = "*"
|
|
black = "*"
|
|
pytest-watch = "*"
|
|
factory-boy = "*"
|
|
pytest-flask = "*"
|
|
pytest-env = "*"
|
|
|
|
[requires]
|
|
python_version = "3.6"
|
|
|
|
[pipenv]
|
|
allow_prereleases = true
|