pyo3/Contributing.md

17 lines
892 B
Markdown
Raw Normal View History

2019-02-07 20:02:37 +00:00
# Contributing
Thank you for contributing to pyo3!
Here are some things you should check for submitting your pull request:
- Run `cargo fmt` (This is checked by travis ci)
- Run `cargo clippy` and check there are no hard errors (There are a bunch of existing warnings; This is also checked by travis)
- If applicable, add an entry in the changelog.
- If applicable, add documentation to all new items and extend the guide.
- If applicable, add tests for all new or fixed functions
- Run `cargo test` or if you changed examples in README or the guide,
`cargo test --features test-doc` (you might have to clean out your
`target` directory if it complains about multiple matching libs)
2019-02-07 20:02:37 +00:00
You might want to run `tox` (`pip install tox`) locally to check compatibility with all supported python versions. If you're using linux or mac you might find the Makefile helpful for testing.