- Introduced `lint` and `lint-fix` applications in `flake.nix` for unified linting of backend (Python) and frontend (TypeScript/Svelte) code. - Added `scripts/lint.sh` for manual linting execution. - Created `scripts/install-hooks.sh` to set up git hooks for automatic linting before commits and optional tests before pushes. - Updated `README.md` with instructions for using the new linting features and git hooks.
20 lines
470 B
Python
20 lines
470 B
Python
"""Database models."""
|
|
|
|
from app.database.models.board import Board
|
|
from app.database.models.board_image import BoardImage
|
|
from app.database.models.comment import Comment
|
|
from app.database.models.group import Group
|
|
from app.database.models.image import Image
|
|
from app.database.models.share_link import ShareLink
|
|
from app.database.models.user import User
|
|
|
|
__all__ = [
|
|
"User",
|
|
"Board",
|
|
"Image",
|
|
"BoardImage",
|
|
"Group",
|
|
"ShareLink",
|
|
"Comment",
|
|
]
|