Contributing#
Contributions are welcome and greatly appreciated. These are the instructions you need to follow if you want to submit a pull request.
Code of Conduct#
Read and comply with this project's Code of Conduct.
Environment Setup#
- Install Python - if you have not already.
-
Fork and git clone this repository run:
-
(recommeded) Create and activate virtual environment
- Install package with
devextras (dependencies) by runningpip install ".[dev]"or whatever equivalent your chosen package manager uses.
Coding style#
Before writting a single line of code, we recommed that you read and comply with this project's Coding Standards.
Code Quality#
Before committing you work you must perform the following code steps to ensure code quality.
- Change directory to root of this repository.
- Lint and format code using
ruff.- Run
ruff check .to run lint check. - If the check fails, try
ruff check . --fixorruff format .to reformat code, then runruff check .again. - If the check still fails, then you will have to make corrections mannually.
- Run
- Perform static analysis using
mypy.- Run
mypy .. - If
mypyreturns any errors you must correct them.
- Run