Skip to content

Latest commit

 

History

History
74 lines (58 loc) · 1.24 KB

README.md

File metadata and controls

74 lines (58 loc) · 1.24 KB

common-robot-runner

Setup your development environment

Install pipenv

  • Brew
    brew install pipenv
    
  • pip
    pip install pipenv
    

Run the vurtual environment

pipenv shell

How to install package in your vurtual environment?

pipenv install <package_name>
or
pipenv install <package_name> --dev

Set PYTHONPATH

export PYTHONPATH="$(pwd)"

Install pre-commit

brew install pre-commit
or
pip install pre-commit

pre-commit install

Check lint when you commit by pre-commit

Fail result

Success result

How to test?

pytest

Work flow

  1. Checkout branch DQA-<ticket_number>

  2. Coding

  3. Fetch + rebase or pull master

  4. Push

  5. Create PR

  6. Link PR with ticket

    • Click Power-Ups -> "Github" -> "Attach Pull Request..."

    • Select your Pull Request

    • Trello will show your Pull Request

    • Github Pull Request will comment the trello ticket link

  7. Request code review

  8. Squash merge