Skip to content
/ rush Public template
forked from RedCarpetUp/rush

A starter project to create a standalone TDD project with docker based postgresql fixtures

License

Notifications You must be signed in to change notification settings

surajsahani/rush

 
 

Repository files navigation

###Setup

  • make sure you are using python > 3.8+
  • setup virtualenv using virtualenv env and activate it
  • run python setup.py install to install dependencies. keep setup.py updated
    • rerun python setup.py install if you make changes to models/source code. not needed for testcase changes
  • 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 --multi-line=3 --trailing-comma --force-grid-wrap=0 --use-parentheses --line-width=100 -rc from your top level directory.
  • all source code is under src/rush/ . That is where you should make your code

About

A starter project to create a standalone TDD project with docker based postgresql fixtures

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.3%
  • Mako 3.8%
  • SQLPL 0.9%