You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tests use unittest, with some Hypothesis thrown in for good measure.
Where to start
The entrypoint for the application is cogs/main.py.
Conventions
The application has a singleton Database God-object, which lives for the lifetime of the application; this provides convenience methods to interact with the database, such as finding projects with a particular ID.
Various things (e.g. Scheduler, Database) inherit from a custom logging mixin, meaning that you can call .log() on them and it will go to the "cogs" logger – note that this mixin only accepts two arguments, so you have to format the log message with any variables yourself.