Be sure to follow the code style of the project.
Create an issue or join the Discord/Matrix to discuss it with the maintainers. We will provide additional guidance.
Fork the repository, make your changes, then create a pull request. Be sure to mention the GitHub issue you're fixing if one was already open.
The project can be translated on Weblate.
- Clone the repository.
- If it isn't already there, add your language to
/po/LINGUAS
. - Create a new translation from the
/po/cartridges.pot
file with a translation editor such as Poedit. - Save the file as
[YOUR LANGUAGE CODE].po
to/po/
. - Create a pull request with your translations.
- Install GNOME Builder.
- Click "Clone Repository" with
https://github.com/kra-mo/cartridges.git
as the URL. - Click on the build button (hammer) at the top.
- Install MSYS2.
- From the MSYS2 shell, install the required dependencies listed here.
- Build it via Meson.
- Install Homebrew.
- Using
brew
andpip3
, install the required dependencies listed here. - Build it via Meson.
git clone https://github.com/kra-mo/cartridges.git
cd cartridges
meson setup build
ninja -C build install
All code is auto-formatted with Black and linted with Pylint. Imports are sorted by isort.
VSCode extensions are available for all of these and you can set them up with the following settings.json
configuration:
"python.formatting.provider": "none",
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
},
"isort.args":["--profile", "black"],
For other code editors, you can install them via pip
and invoke them from the command line.