Guidelines and best practices for contributing to the Definable backend codebase
ruff.toml
at the project root:
mypy.ini
:
from typing import List, Optional, Dict
).pre-commit-config.yaml
:
pip install pre-commit
pre-commit install
user_service.py
)UserService
)get_user_by_id
)MAX_CONNECTIONS
)UserModel
)UserBase
UserCreate
UserUpdate
UserResponse
HTTPException
with appropriate status codesruff check
and mypy src/