Contributing to Sharif OCW Scrapy's Downloader¶
Guidelines for contributing to this project
๐ Getting Started¶
Thank you for considering contributing to Sharif OCW Scrapy's Downloader! This document outlines the process for contributing to the project and addresses common questions.
๐ Code of Conduct¶
This project adheres to a Code of Conduct that all participants are expected to follow. Please read CODE_OF_CONDUCT.md before contributing.
๐ Development Workflow¶
Setting Up the Development Environment¶
-
Fork the repository and clone your fork locally
-
Install dependencies:
or
-
Create a branch for your changes:
Making Changes¶
-
Make your changes following our coding standards
-
Write tests for your changes
-
Run tests to ensure everything passes:
-
Update documentation as needed
Submitting Changes¶
- Commit your changes using conventional commit messages
- Push to your fork
- Submit a pull request
๐ Coding Standards¶
-
Follow PEP 8 guidelines
-
Use type hints
-
Write docstrings in the Google format
-
Ensure code passes our linters:
๐ Documentation¶
Updates to documentation are just as important as code changes. Please:
-
Update the docs to reflect your changes
-
Add examples where appropriate
-
Use our documentation tools:
๐งช Testing¶
- Write unit tests for new features
- Ensure existing tests continue to pass
- Aim for high test coverage
๐ Review Process¶
- A maintainer will review your PR
- Changes may be requested
- Once approved, your PR will be merged
๐ License¶
By contributing, you agree that your contributions will be licensed under the project's MIT License.
Thank you for your contributions! ๐