@devries-cameron20 / open-alice / commits / 1753696
Fork 0

Alice — an open-source AI trading bot covering equities, crypto, commodities, forex, and macro

Configure mypy overrides for Flask dependencies

Add mypy overrides for Flask-related modules

Cameron “Camo” De Vries committed Nov 6, 2026 at 03:27 UTC 1753696270cdc5cebbd1340191522ba44d3b8616
1 file changed +6
pyproject.toml
+6
@@ -44,3 +44,9 @@ select = ["E", "F", "I", "N", "UP", "B", "SIM"]
44 [tool.mypy]
45 python_version = "3.11"
46 strict = true
47 +
48 +# Flask is an optional [web] dependency: the route decorators in these modules
49 +# carry untyped-decorator ignores that are used only when flask is absent.
50 +[[tool.mypy.overrides]]
51 +module = ["open_alice.dashboard.app", "open_alice.signals.webhook"]
52 +warn_unused_ignores = false