Skip to content

Latest commit

 

History

History
76 lines (58 loc) · 1.11 KB

File metadata and controls

76 lines (58 loc) · 1.11 KB

Contributing

dependencies

tools used:

first run ...

install project tools

use asdf to ensure required tools are installed ... configured tools are in .tool-versions

cd ~/work/nhs-aws-helpers
asdf plugin add python
asdf plugin add poetry
asdf install

install git hooks

make refresh-hooks

normal development

create virtualenv and install python dependencies

make install
source .venv/bin/activate

running tests

make test

testing multiple python versions

to test all python versions configured

make tox

linting

project uses:

run both with

make lint

or individually with

make mypy

or

make ruff 

formatting code

project uses:

lint checks will fail if the code is not formaated correctly

# make black will run both isort and black
make black