borgmatic

🐍 Source code

πŸ”

If you're interested in developing on borgmatic, here's an abridged primer on how its Python source code is organized to help you get started. Starting at the top level, we have:

So, broadly speaking, the control flow goes: commands β†’ config followed by commands β†’ actions β†’ borg and hooks.

Code style

When writing code for borgmatic, start with PEP 8. But then, apply the following deviations from it:

Since borgmatic uses Ruff for code lining and formatting, many other code style requirements are also enforced when running automated tests.

Improve this documentation

Have an idea on how to make this documentation even better? Use our issue tracker to send your feedback!