Skip to content

Latest commit

 

History

History
63 lines (36 loc) · 1.79 KB

CONTRIBUTING.rst

File metadata and controls

63 lines (36 loc) · 1.79 KB

How To Contribute

Thank you for considering to contribute to aiosu!

This document is here to help you get started by showing you the expectations for contributions and make it more accesible to everyone. You are still free to open unfinished PRs and ask questions though!

Support

In case you'd like to ask questions, you can contact me on Discord.

Code style

aiosu uses black formatting. It is recommended that you use the provided pre-commit hook to aid you in maintaining proper styling.

Imports that are only used for typing must be put in an if TYPE_CHECKING statement. They also must be the last imports in the file.

Local development environment

aiosu uses poetry for publishing and managing environments. You may use the provided dev group.

Documentation

aiosu uses Sphinx formatting for docstrings. You should also familiarize yourself with reStructuredText.

Versioning

aiosu uses semantic versioning. Version numbers are formatted as follows: MAJOR.MINOR.PATCH.

Publishing a release

In order to publish a release, you may use the provided Makefile.

Publish without bumping version number
$ make release

$ make release ver=<args>

Valid arguments for release versions can be found here