- make sure you are using python > 3.8+
- setup virtualenv using
virtualenv env
and activate it - run
pip install -e "."
to install dependencies. keep setup.py updated- rerun
pip install -e "."
if you make changes to models/source code. not needed for testcase changes
- rerun
- run
pytest --mypy --black --isort --cov=rush --cov-report=xml --cov-report=term
to run your tests- if black formatting tests fail, just run
black .
from your top level directory. Alternatively you can setup black in vscode (I highly recommend setting up all three "format on paste/save/type") - if isort formatting tests fail, just run
isort -rc .
from your top level directory.
- if black formatting tests fail, just run
- all source code is under
src/rush/
. That is where you should make your code
-
Notifications
You must be signed in to change notification settings - Fork 2
Production-driven prototyping. This starter is setup in a production-friendly way and will setup tests + dev environment exactly like a live project will work. Works the same both on your laptop or Github CI, so you can go from hacking on your laptop to a full gitops environment.
License
RedCarpetUp/rush
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Production-driven prototyping. This starter is setup in a production-friendly way and will setup tests + dev environment exactly like a live project will work. Works the same both on your laptop or Github CI, so you can go from hacking on your laptop to a full gitops environment.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published