Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.1 KB

README.md

File metadata and controls

78 lines (50 loc) · 1.1 KB

PDL Agile

Installation

  1. Install Python 3.10 (skip this step if you already have Python 3.10 installed)

    1. Install pyenv

    2. Install Python version

    pyenv install 3.10
    1. Switch to Python version
    pyenv shell 3.10
  2. Install pipenv

pip install --user pipenv
  1. Create virtual environment directory
mkdir .venv
  1. Create virtual environment and install dependencies
python -m pipenv install --dev --python 3.10
  1. Activate virtual environment
pipenv shell

or

source .venv/bin/activate
  1. Check if everything is working
python --version

Execution

  1. Go to tab Run and Debug in VSCode (shortcut: Ctrl + Shift + D)

  2. Select Python: Main in dropdown

  3. Press F5 to run the program or click Run button

Tests

  1. Go to tab Testing in VSCode (shortcut: Ctrl + Shift + T)

  2. Click Run Tests button

Format code

# Format code
black src/
# Sort imports
isort src/