Thank you for your interest in contributing to Stickler! Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.
- Python 3.12+
- conda (recommended) or venv
- Git
# Clone and setup
git clone https://github.com/awslabs/stickler.git
cd stickler
conda create -n stickler python=3.12 -y
conda activate stickler
pip install -e ".[dev]"
# Verify installation
pytest tests/ -v --tb=short- Create a branch from
dev:git checkout -b feature/your-feature dev - Make your changes
- Run tests:
pytest tests/ - Run linting:
ruff check . - Commit with conventional format:
feat: add new feature - Submit PR to
devbranch
For comprehensive documentation, see:
| Guide | Description |
|---|---|
| Development Setup | Full environment configuration |
| Testing Guide | Test patterns and best practices |
| Code Style | Naming conventions and linting |
| Pull Request Guide | Branch workflow and PR process |
| Task | Command |
|---|---|
| Run all tests | pytest tests/ |
| Run with coverage | coverage run -m pytest tests/ && coverage report |
| Run specific tests | pytest tests/ -k "pattern" |
| Lint check | ruff check . |
| Lint fix | ruff check --fix . |
type: brief description
Types: feat, fix, docs, style, refactor, test, chore
Documentation is built with MkDocs and lives in the docs/ directory.
# Setup and serve docs locally
cd docs
make install # Install dependencies
make docs # Start dev server at http://127.0.0.1:8000When contributing documentation:
- Edit Markdown files in
docs/docs/ - Follow existing structure and style
- Test locally with
make docsbefore submitting PR - Documentation PRs should also target
devbranch
See the Building Documentation section for detailed information.
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
- A reproducible test case or series of steps
- The version of our code being used
- Any modifications you've made relevant to the bug
- Anything unusual about your environment or deployment
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
- You are working against the latest source on the dev branch.
- You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already.
- You open an issue to discuss any significant work - we would hate for your time to be wasted.
To send us a pull request, please:
- Fork the repository.
- Create a feature branch from the dev branch (not main).
- Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
- Ensure local tests pass.
- Commit to your fork using clear commit messages.
- Submit your pull request to the dev branch (not main).
- Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
When creating a pull request, please use the following template to ensure all necessary information is included:
*Issue #, if available:*
*Description of changes:*
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
- All pull requests must target the
devbranch - The
mainbranch is reserved for stable releases - Use descriptive branch names (e.g.,
feature/add-new-validator,bugfix/fix-memory-leak) - Keep your branch up to date with the latest
devbranch before submitting
- Use clear and meaningful commit messages
- Follow the format:
type: brief description - Types:
feat,fix,docs,style,refactor,test,chore - Example:
feat: add new data validation algorithm
Refer to this guide for clear commit guidelines
GitHub provides additional document on forking a repository and creating a pull request.
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opensource-codeofconduct@amazon.com with any additional questions or comments.
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our vulnerability reporting page. Please do not create a public github issue.
See the LICENSE file for our project's licensing. We will ask you to confirm the licensing of your contribution.