Skip to content

Commit 6daa7a0

Browse files
authored
Merge pull request #2 from WassCodeur/main
Add CONTRIBUTING guidelines to improve collaboration and submission PROCESS
2 parents 6c6f6a7 + e020dc9 commit 6daa7a0

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

CONTRIBUTING

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
CONTRIBUTING
2+
============
3+
4+
Thanks for your interest in contributing to pythontogo. This document explains how to report issues and submit changes so they can be reviewed and merged quickly.
5+
6+
1. Code of conduct
7+
- Be respectful and constructive.
8+
- File issues or PRs for behavior concerns.
9+
10+
2. Reporting bugs / requesting features
11+
- Search existing issues first.
12+
- Open a new issue with:
13+
- Clear title
14+
- Short reproduction steps or expected behavior
15+
- Environment (OS, Python version, package version)
16+
- Minimal reproducible example if applicable
17+
18+
3. Development setup
19+
- Clone your fork and create a branch:
20+
- git clone https://github.com/your-username/pythontogo.git
21+
- git checkout -b feature/short-description
22+
- Create and activate a virtual environment:
23+
- python -m venv .venv
24+
- source .venv/bin/activate (or .venv\Scripts\activate on Windows)
25+
- Install development dependencies:
26+
- pip install -r requirements-dev.txt
27+
28+
4. Style and tests
29+
- Follow existing project style (PEP 8). We run linters and type checks in CI.
30+
- Add tests for new features/bugfixes using pytest.
31+
- Run tests locally:
32+
- pytest
33+
- Run linters:
34+
- flake8
35+
- mypy (if used)
36+
37+
5. Commits and pull requests
38+
- Keep commits focused and atomic.
39+
- Use clear commit messages: "module: brief description" or "Fix: brief description".
40+
- Rebase or squash if requested by maintainers.
41+
- Open a PR from your fork to the main branch with:
42+
- Description of the change
43+
- Linked issue (if any)
44+
- Testing steps and CI status
45+
- Ensure all CI checks pass before requesting review.
46+
47+
6. Documentation
48+
- Update docs for public API changes or new features.
49+
- Keep docstrings clear and concise.
50+
- Include examples where helpful.
51+
52+
7. API stability and deprecations
53+
- Avoid breaking public APIs unless necessary.
54+
- When removing or changing behavior, add deprecation warnings and document the migration path.
55+
56+
8. Licensing and copyright
57+
- By contributing you agree to license your contribution under the project's license.
58+
- Avoid copying large blocks of code from other projects without compatible licensing.
59+
60+
9. Help and communication
61+
- If unsure, open an issue to discuss the approach before implementing.
62+
- For quick questions, use the issue tracker or project communication channels if available.
63+
64+
Thank you for improving pythontogo. Contributions are welcome and appreciated!

0 commit comments

Comments
 (0)