Thank you for your interest in contributing to Tweaks Lite! This document provides guidelines and information for contributors.
This project follows the GNOME Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to git.jaydoubleu@gmail.com.
-
Fork the repository on GitHub
-
Clone your fork locally:
git clone https://github.com/your-username/tweaks-lite.git cd tweaks-lite
-
Set up your development environment:
# Install build dependencies on Fedora sudo dnf install meson ninja-build python3-devel gtk4-devel \ libadwaita-devel desktop-file-utils gettext # Build the project meson setup builddir cd builddir meson compile sudo meson install
-
Create a new branch for your feature or bugfix:
git checkout -b feature-name
-
Make your changes, following our coding style
-
Write meaningful commit messages using conventional commits:
feat: add new feature fix: resolve specific issue docs: update documentation style: formatting changes refactor: code restructuring test: add or modify tests chore: maintenance tasks
-
Push to your fork and submit a Pull Request
- Follow PEP 8 for Python code
- Use 4 spaces for indentation (no tabs)
- Maximum line length of 80 characters
- Use meaningful variable and function names
- Add docstrings for classes and functions
- Include type hints where appropriate
Before submitting a PR:
- Ensure your code builds without warnings
- Test your changes thoroughly
- Update documentation if needed
- Add tests for new functionality