This introduces the FastAPI editor implementation and related project setup so the app can be run and validated locally. Made-with: Cursor
27 lines
547 B
TOML
27 lines
547 B
TOML
[[source]]
|
|
url = "https://pypi.org/simple"
|
|
verify_ssl = true
|
|
name = "pypi"
|
|
|
|
[dev-packages]
|
|
pytest = "*"
|
|
pytest-cov = "*"
|
|
httpx = "*"
|
|
pylint = "*"
|
|
jedi = "*"
|
|
|
|
[packages]
|
|
fastapi = "*"
|
|
uvicorn = "*"
|
|
websockets = "*"
|
|
pillow = "*"
|
|
startspimage = "*"
|
|
|
|
[requires]
|
|
python_version = "3.11"
|
|
|
|
[scripts]
|
|
dev = "uvicorn app:app --app-dir src --reload --port 8080"
|
|
test = "bash -lc 'cd src && PYTHONPATH=. pytest ../tests'"
|
|
test-cov = "bash -lc 'cd src && PYTHONPATH=. pytest ../tests --cov=editor_app --cov=app --cov-report=term-missing --cov-fail-under=95'"
|