development¶
Here is some information which will help you to develop/contribute to kegscraper
prerequisites¶
steps¶
- fork the kegscraper repo
- clone that repo. Copy the url of your repo and run
git clone {url} - run
uv venv - On windows (pwsh), run
.venv/Scripts/activate, on mac/liunux, runsource .venv/bin/activate - Run
uv sync -
Test your code. Make a directory:
tests/local_testsand put your code there. -
The
tests/directory hosts scripts which can be run withpytest. - When you have committed your feature or hotfix, open a pull request
- Wait/hope for it to be merged!
tips¶
- In kegscraper, it is advised to use conventional commit names
- It is advised to store authentication data in a
tomlfile (make sure it is gitignored!!) or in environment variables. **Definitely not directly in your code as it can be committed.