Skip to content

Commit

Permalink
Remove main.py in root dir and fix tox.ini
Browse files Browse the repository at this point in the history
indentation issue
  • Loading branch information
skasberger committed Nov 9, 2020
1 parent 1e66695 commit f381544
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
3 changes: 3 additions & 0 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ def create_app(config_name="default"):
print(" * Database: " + SQLALCHEMY_DATABASE_URI)

return app


app = create_app(get_config_name())
8 changes: 0 additions & 8 deletions main.py

This file was deleted.

4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ commands =

[testenv:py38]
deps =
-r{toxinidir}/requirements/development.txt
-r{toxinidir}/requirements/tests.txt
-r{toxinidir}/requirements/development.txt
-r{toxinidir}/requirements/tests.txt
commands =
pytest tests/ --cov=app --basetemp={envtmpdir}

Expand Down

0 comments on commit f381544

Please sign in to comment.