| # Contributing |
|
|
| Thanks for contributing to OhMyCaptcha. |
|
|
| ## Development setup |
|
|
| ```bash |
| python -m venv .venv |
| source .venv/bin/activate |
| pip install -r requirements.txt |
| playwright install --with-deps chromium |
| ``` |
|
|
| ## Run the project locally |
|
|
| ```bash |
| python main.py |
| ``` |
|
|
| ## Validate changes |
|
|
| Run tests: |
|
|
| ```bash |
| pytest tests/ |
| ``` |
|
|
| Run type checks: |
|
|
| ```bash |
| npx pyright |
| ``` |
|
|
| Build docs: |
|
|
| ```bash |
| mkdocs build --strict |
| ``` |
|
|
| ## Contribution guidelines |
|
|
| - Keep changes aligned with the implemented task types and documented behavior. |
| - Do not add secret values, personal endpoints, or account-specific configuration to the repository. |
| - Prefer small, reviewable pull requests. |
| - Update docs when behavior changes. |
| - Keep examples copy-pasteable and placeholder-based. |
| - Avoid overstating compatibility or production guarantees. |
|
|
| ## Pull requests |
|
|
| A good pull request usually includes: |
|
|
| - a concise summary of the change |
| - why the change is needed |
| - tests or validation notes |
| - documentation updates if relevant |
|
|
| ## Documentation style |
|
|
| This repository aims for documentation that is: |
|
|
| - clear |
| - practical |
| - implementation-aware |
| - safe for public distribution |
|
|
| If you add deployment examples, use placeholders instead of real secrets or private URLs. |
|
|