Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.08 KB

CONTRIBUTING.md

File metadata and controls

48 lines (31 loc) · 1.08 KB

Contributing

All contributions are welcome, including typo fixes. There might be a few TODO comments marking future intentions; feel free to work on those.

See Code style and Project structure for more information on the project itself.

Start

Clone this project with git clone, then install the package in editable mode along with its dev dependencies:

$ pip install -e .[dev]

This will install all packages necessary for development.

Run tests

Whenever you make a fix, remember to run the tests with pytest. If everything passes, you are good to go.

$ pytest

Otherwise, modify the tests as you go, and make sure that those pass as well.

Type hinting

The code must pass mypy, Pyright and PyCharm type checking. If you don't use PyCharm, you may ignore it. As stated in [Code style], use comments as necessary. For test files, test cases and "helper" functions may or may not be type hinted. Regardless, good type hints are always strongly and explicitly recommended.