Thank you for considering contributing to Moldflow API! We welcome contributions from the community.
Before creating bug reports, please check the issue list as you might find out that you don't need to create one. When you are creating a bug report, please include as many details as possible:
- Use a clear and descriptive title
- Describe the exact steps which reproduce the problem
- Provide specific examples to demonstrate the steps
- Describe the behavior you observed after following the steps
- Explain which behavior you expected to see instead and why
- Include screenshots if applicable
Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion, please include:
- Use a clear and descriptive title
- Provide a step-by-step description of the suggested enhancement
- Provide specific examples to demonstrate the steps
- Describe the current behavior and explain which behavior you expected to see instead
- Explain why this enhancement would be useful
- Fork the repository
- Clone your fork:
git clone https://github.com/your-username/moldflow-api.git - Navigate to the directory:
cd moldflow-api - Install dependencies:
python -m pip install -r requirements.txt
- Create a new branch for your feature:
git checkout -b feature-name - Make your changes
- Run tests:
python run.py test - Run linting:
python run.py lint - Run formatting:
python run.py format - Commit your changes:
git commit -m "Add feature" - Push to your fork:
git push origin feature-name - Create a Pull Request
- We use
blackfor code formatting - We use
pylintfor linting - Pre-commit hooks are configured to run these automatically
- Please ensure your code passes all checks before submitting
- Write tests for new functionality
- Ensure all existing tests pass
- Use meaningful test names and descriptions
- Tests should be in the
tests/directory
- Ensure any install or build dependencies are removed before the end of the layer when doing a build
- Update the README.md with details of changes to the interface, if applicable
- Increase the version numbers in any examples files and the README.md to the new version that this Pull Request would represent
- Your Pull Request will be merged once you have the sign-off of at least one maintainer
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code.
Feel free to open an issue for any questions about contributing!