- Pull requests that fix bugs of a released version should go to
x.y-maintenance(e.g.0.2-maintenance) branch.
- Follows PEP 8.
- Alphabetically order imports.
- Prefer relative imports.
- All functions, classes, methods, attributes, and modules should have the docstring.
- Functions and methods should contain
:param:,:type:(:returns:,:rtypeif it returns something), (:raises:if it may raise an error) in their docstring.
- All code patches should contain one or more unit tests or regression tests.
- There's docs about how to test.
- All commits will be tested by Travis CI & GitHub Actions.
- All packages and modules should have
.rstfile for them insidedocs/directory. For example, if there'swand/module.pythere also should bedocs/wand/module.rst, and it has to be listed in.. toc::ofdocs/wand.rst. - All new classes/functions/methods/attributes/properties have to contain
.. versionadded::in their docstring. - All interface changes have to contain
.. versionchanged::in theirdocstring.