Skip to content

Latest commit

 

History

History
63 lines (36 loc) · 1.83 KB

CONTRIBUTING.md

File metadata and controls

63 lines (36 loc) · 1.83 KB

Contribution Guide

Getting set up

Start by creating a fork of the repository and pulling down the code. The project's tests can be run using pytest:

pip install -r requirements-test.txt
pytest test/

Linting tools are also provided and can be run through the command line:

pip install -r requirements-dev.txt
black --check awssert/ test/
flake8 awssert/ test/

Making changes

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. When adding new assertions, please add a new test demonstrating positive and negative usage.

Make sure your code is properly formatted before submitting a pull request!

black awssert/ test

Updating the changelog

When making changes, please add a short human-readable description of the change to the latest (unreleased) entry in the changelog. Changes should be added under the relevant category:

✨ Added

  • New code features go here

✏️ Changed

  • Changes to existing code features go here

✂️ Removed

  • Removals of code features go here

📚 Documentation

  • Changes to documentation go here

🛠️ Fixes

  • Bugfixes go here

🐛 Known bugs

  • Identifed (unresolved) bugs go here

If you are planning to release a new version of AWSsert, don't worry about adding dates or a new version to the changelog. Zest will handle that!

Releasing a new version

AWSsert uses Zest and Github Actions to automate the release process. In order to do so, manually run the Release workflow from the base repository. This will add the current date to the changelog, build and publish artifacts to PyPI, and bump the version number in all the places that matter.