Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.25 KB

CONTRIBUTING.md

File metadata and controls

36 lines (29 loc) · 1.25 KB

Contribute

All contributions are welcome:

  • Read the issues, Fork the project and create a new Pull Request.
  • Request a new feature creating a New issue with the enhancement tag.
  • Find any kind of errors in the code and create a New issue with the details, or fork the project and do a Pull Request.
  • Suggest a better or more pythonic way for existing examples.

Work environment

After forking the project, make sure you have poetry installed, than install the dependencies using

poetry install

Also install pre-commit and activate it:

pip install pre-commit
pre-commit install

download the minio docker and start an instance in your computer for development and testing.

Export The same environment variables you've used to set up your local minio:

export MINIO_TEST_CONNECTION="<your API host>" # example: 127.0.0.1:9000
export MINIO_TEST_ACCESS_KEY="<your user>" # example: ROOTNAME
export MINIO_TEST_SECRET_KEY="<your password>" # example: CHANGEME123

to run the tests run:

poetry run pytest tests

Don't forget to write tests, and to run all the tests before making a pull request.