python3 -m venv .venv
Mac/Linux
source .venv/bin/activate
Windows
venv/scripts/activate
pip install -r requirements.txt
Make a copy of env.sample
(provided in the root of the project) called .env
cp env.sample .env
Then provide the values as follows:
DETA_SDK_TEST_PROJECT_KEY
– Test project key (create a new Deta project for testing and grab the generated key).DETA_SDK_TEST_BASE_NAME
– Name of your Base.DETA_SDK_TEST_DRIVE_NAME
– Name of your Drive, default is fine.DETA_SDK_TEST_DRIVE_HOST
– Host URL, default is fine.DETA_SDK_TEST_TTL_ATTRIBUTE
– TTL attribute, default is fine.
pytest tests
🎉 Now you are ready to contribute!
- Git clone and make a feature branch
- Make a draft PR
- Make your changes to the feature branch
- Mark draft as ready for review