⚠️ This repo has outdated tokens in its travisci config To make new releases for this project it needs to be moved to circleci
Extensions (high-level SCTs) for sqlwhat.
In the course's requirements.sh
, add
# replace 0.0.1 with the appropriate release version
pip3 install --no-deps sqlwhat-ext==0.0.1
To use the extensions in an exercise's SCT, import the function you want into the SCT block of the exercise:
from sqlwhat_ext import check_result2
Ex() >> check_result2()
Follow these steps
- Open a PR, merge into master when appropriate.
- Once merged, increment
__version__ = 0.0.1
to reflect changes (see semver for guidance). - Create a github release labeled
vVERSION
. E.g.v0.0.1
. (see here).
pip install -r requirements.txt
# may need to uncomment line below
#pip install -e .
pytest tests
# can also do: python -m pytest tests