Commit Graph

11 Commits

Author SHA1 Message Date
Matthieu B
73c29458fe fix: resolve all test failures, linting errors, and type errors
- Fix 55 test failures caused by missing request contexts and incorrect
  session_transaction() usage across 8 test files
- Fix ruff import sorting errors and unused imports
- Fix 122 type errors: rename method override parameters to match base
  classes, add None guards for fetchone()/datetime, widen dict type
  annotations, add type: ignore for SQLAlchemy stub limitations
- Add [tool.ty.rules] config to suppress unsupported-base warnings
- Fix _ variable shadowing gettext in wizard routes
- Add noqa: ARG002 for unused method arguments required by base class
2026-03-29 16:20:23 +02:00
Matthieu B
948474d13c fix: combine nested with statements in WebAuthn security tests
- Fixed SIM117 ruff linting errors by combining nested with statements
- All WebAuthn security tests still pass after refactoring
- Code is now more readable and follows modern Python patterns
- Applied ruff formatting to WebAuthn routes file

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 15:04:43 +02:00
Matthieu B
7b8f64af7d Fix SQLAlchemy model constructors to accept keyword arguments
- Added __init__ constructors to all SQLAlchemy models
- Fixed pyright 'No parameter named' errors across the codebase
- Fixed various ruff linting issues (SIM108, E741, E402, SIM102, B904, SIM105)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 13:52:15 +02:00
Matthieu B
d6dbd94826 migrate 2025-07-14 15:22:58 +02:00
Matthieu B
1775e04edf remove annoying sponsor message 2025-07-10 19:27:40 +02:00
Matthieu B
36831b0cec fix potential error 2025-07-10 16:53:45 +02:00
Matthieu B
27b8cdc947 Fixed Migrations 2025-05-22 20:04:26 +01:00
Matthieu B
56ab25c164 Single Schedueler 2025-05-22 20:01:28 +01:00
Matthieu B
63f3f10813 added migrations 2025-05-21 16:17:55 +01:00
Matthieu B
5e62af2e14 fix startup and database migration 2025-05-21 16:05:59 +01:00
Matthieu B
4889e25d31 Huge rewrite 2025-05-20 13:01:20 +01:00