Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 851 Bytes

CONTRIBUTING.md

File metadata and controls

44 lines (40 loc) · 851 Bytes

Contributing

Install pdm

pipx install pdm

Set up environment

git clone git@github.com:waketzheng/fast-dev-cli.git
cd fast-dev-cl
  • Create virtual environment and install dependencies by pdm
# Create virtual environment
pdm use 3

# Activate virtual environment
source .venv/*/activate  # for Linux/MacOS/GitBash
.venv\Scripts\activate  # For Windows

# Install dependenices
python -m ensurepip
python -m pip install --upgrade pip
pdm export --without-hashes -o dev_requirements.txt
python -m pip install -r dev_requirements.txt
python -m pip install -e .

Lint code

./scripts/format.py

Check

./scripts/check.py

Test

pipx install poetry
pipx inject poetry poetry-version-plugin
./scripts/test.py