Contributing
Contributers Welcome!
Contribution from the any and all is welcomed and appreciated! Check out the issues on github. If you have an idea for an enhancement, or notice something not working properly, please do open a new issue and open a pull request if you want to lend a hand!
Environment setup
Here's how to set up your development environment:
- Clone the repository in your development environment.
- Install poetry if it is not already installed on your system.
- Run the
poetry installcommand to install the project dependencies. - At the root of the repo run
poetry run python path/to/commands.py init. This will create a file calledsql-unit-test.yamlat the root, among other things. Change theapp_envvalue to be 'dev'. - To adjust the log level, modify the
log_levelvalue insql-unit-test.yaml. (Options areCRITICAL/WARN/ERROR/INFO/DEBUG; default isWARN) - Get developing!
- To test run the package use poetry:
poetry run python path/to/commands.py runin /sample/playlists or in a unit test directory you create.
Testing
It is requested that contributers write new unit tests for any new or modified functionality in the codebase. Please put these in the /tests folder.
Feel free to run your tests locally, but the tests will also be executed by github upon the opening of your pull request.