Prereqs:
- Pick a python version (set to 3.7.0 by default) and update the following files to match that version: tox.ini, pyproject.toml, .pre-commit-config.yaml, .python-version, Pipfile, mypy.ini
- Install the python version you want
pyenv install 3.7.0
- Point pipenv to the python version
pipenv --python /Users/user/.pyenv/versions/3.7.0/bin/python3.7
pipenv install --dev
pipenv shell
pre-commit install
The following tools have been installed:
- flake8 - linting tool for clean code
- flake8-docstrings - enforces doc strings
- black - auto code formatter
- pre-commit - runs scripts/tools before commiting anything
- mypy - static type checker for Python
- tox - automated testing
- pytest - testing framework
To change the version of Python you will need to change the python version references on all configuration files.
TODO: Add bandit for security and logging standards