வலைபெயர்ப்பு மூலக் குறியீடு¶
Weblate is developed on GitHub. You are welcome to fork the code and open pull requests. Patches in any other form are welcome too.
See also
Check out வலைபெயர்ப்பு internals to see how Weblate looks from inside.
குறியீட்டு வழிகாட்டுதல்கள்¶
Any code for Weblate should be written with Security by Design Principles in mind.
எந்தவொரு குறியீடும் நடத்தை விளக்கும் ஆவணங்களுடன் வர வேண்டும். ஆவணப்படுத்தும் முறைகள், சிக்கலான குறியீடு தொகுதிகள் அல்லது பயனர் புலப்படும் நற்பொருத்தங்கள் மறந்துவிடாதீர்கள்.
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.
Git commits should follow Conventional Commits specification.
குறியீட்டு மற்றும் குறியீட்டைக் குறைத்தல்¶
The code should follow PEP-8 coding guidelines and should be formatted using ruff code formatter.
To check the code quality, you can use ruff, its configuration is
stored in pyproject.toml.
The easiest approach to enforce all this is to install pre-commit. The
repository contains configuration for it to verify the committed files are sane.
After installing it (it is already included in the
pyproject.toml) turn it on by running pre-commit install in
Weblate checkout. This way all your changes will be automatically checked.
எல்லா கோப்புகளையும் சரிபார்க்க, கைமுறையாக சோதனையைத் தூண்டலாம்:
pre-commit run --all