First off, thank you for considering contributing to at-date. We want to make contributing to this project as easy and transparent as possible.
The source code and issue tracker are hosted on GitHub. For automated testing and deployment we use Travis-CI. Test coverage is monitored with Codecov. We merge PR using squash and merge option.
We actively welcome your pull requests.
- Fork the repo and create your branch from master.
- Install
pipenvwith:pip install pipenv
- Install dependencies with:
pipenv sync --dev
- If your change needs more dependencies, install it with:
pipenv install <package_name>
- Make code changes.
- If you've added code that should be tested, add tests.
- Add or change docstrings if needed.
- Run tests with:
pipenv run pytest
- Commit changes. Use this guide for commit message.
- Issue that pull request!
Every contributor must follow the PEP8 code style.
Always add docstrings to public callables. Below you can see our styleguide:
def foo(param1, param2):
"""Short description.
Longer description
if needed.
Args:
param1 (int): The first parameter.
param2 (str): The second parameter.
Returns:
int: Sum of param1 and length of param2.
Raises:
ValueError: If arguments have wrong types.
"""
return param1 + len(param2)By contributing, you agree that your contributions will be licensed under its MIT License.