feat: indie status page MVP -- FastAPI + SQLite
- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
This commit is contained in:
commit
902133edd3
4655 changed files with 1342691 additions and 0 deletions
27
venv/lib/python3.11/site-packages/ruff/__main__.py
Normal file
27
venv/lib/python3.11/site-packages/ruff/__main__.py
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
from ruff import find_ruff_bin
|
||||
|
||||
|
||||
def _run() -> None:
|
||||
ruff = find_ruff_bin()
|
||||
|
||||
if sys.platform == "win32":
|
||||
import subprocess
|
||||
|
||||
# Avoid emitting a traceback on interrupt
|
||||
try:
|
||||
completed_process = subprocess.run([ruff, *sys.argv[1:]])
|
||||
except KeyboardInterrupt:
|
||||
sys.exit(2)
|
||||
|
||||
sys.exit(completed_process.returncode)
|
||||
else:
|
||||
os.execvp(ruff, [ruff, *sys.argv[1:]])
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
_run()
|
||||
Loading…
Add table
Add a link
Reference in a new issue