- install nitpick
pipenv install nitpick --dev
- initialize
pipenv run nitpick init github://ryo-murai/python-nitpick-styles/nitpick-python-styles.toml
# or use aws-sam style.
pipenv run nitpick init github://ryo-murai/python-nitpick-styles/nitpick-aws-sam-styles.toml
# aws-sam style include above basic style
- create / update configs
# check
pipenv run nitpick check
# or apply(create or update) files
pipenv run nitpick fix
- in case using non-UTF console
PYTHONUTF8=1 pipenv run nitpick check