File tree Expand file tree Collapse file tree 6 files changed +364
-215
lines changed Expand file tree Collapse file tree 6 files changed +364
-215
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ update: env
4646
4747.PHONY : format
4848format : env
49- $(shell . .venv/bin/activate && isort -rc ./)
49+ $(shell . .venv/bin/activate && isort ./)
5050 $(shell . .venv/bin/activate && black ./)
5151
5252
Original file line number Diff line number Diff line change 22
33if [ -d " .venv" ]
44then
5- source .venv/bin/activate
5+ . .venv/bin/activate
66 pip install -r requirements.txt
77 python3 wsgi.py
88else
99 python3 -m venv .venv
10- source .venv/bin/activate
10+ . .venv/bin/activate
1111 python3 -m pip install --upgrade pip
1212 pip install -r requirements.txt
1313 python3 wsgi.py
Original file line number Diff line number Diff line change 33from flask_login import LoginManager
44from flask_session import Session
55from flask_sqlalchemy import SQLAlchemy
6+ from ddtrace import patch_all
7+
68
79db = SQLAlchemy ()
810login_manager = LoginManager ()
911sess = Session ()
12+ patch_all ()
1013
1114
1215def create_app ():
You can’t perform that action at this time.
0 commit comments