-
Notifications
You must be signed in to change notification settings - Fork 0
Style Guide
Gabe edited this page Jul 15, 2024
·
2 revisions
- use the following guide as a default https://google.github.io/styleguide/pyguide.html
- prefer to use list comprehensions instead of map, filter, reduce
- prefer += instead of
list.append(...)
Use the provided ruff lint config
Any crud
function that starts with task_
is meant to be a fully contained transaction, and will commit changes to the database. You should not assume that you have to commit changes to the database after this function.