First off, thanks for taking the time to contribute! This guide will answer some common questions about how this project works.
While this is a Pinterest open source project, we welcome contributions from everyone. Regular outside contributors can become project maintainers.
Please read and understand our CODE_OF_CONDUCT.md
. We
work hard to ensure that our projects are welcoming and inclusive to as many
people as possible.
- Fork this repository to your own account
- Make your changes and verify that tests pass
- Commit your work and push to a new branch on your fork
- Submit a pull request
- Participate in the code review process by responding to feedback
Once there is agreement that the code is in good shape, one of the project's maintainers will merge your contribution.
To increase the chances that your pull request will be accepted:
- Follow the coding style
- Write tests for your changes
- Write a good commit message
This project follows PEP 8 conventions and is linted using flake8.
The tests use pytest and can be run using tox
or
directly via:
py.test pymemcache/test/
Note that the tests require a local memcached instance.
By contributing to this project, you agree that your contributions will be licensed under its Apache 2 license.