Pyproject template
Demo
This project use several tools, including
- pytest
- isort
- black
- mypy
- bandit
- safety
- pylint
- commitlint
to format our code base and check security issues
Install
- Python dependencies:
virtualenv venv; . venv/bin/activate
pip install poetry
poetry install
- Npm dependencies, for linter, formatter and commit linter (optional):
brew install npm
npm ci
How to Develop
Run
- test:
npm run test
- Run all linter before commitment would save some effort:
npm run check