Coding guidelines

在为 Weblate 编写任何代码时都应该考虑到 通过设计保证安全原则

Any code should come with documentation explaining the behavior. Don’t forget documenting methods, complex code blocks, or user visible features.

Any new code should utilize PEP 484 type hints. We’re not checking this in our CI yet as existing code does not yet include them.