A silly Discord Bot I made
pipenv is used for managing the dependencies, autopep8 for the formatting, flake8 for linting and pytest for testing.
pipenv install for installing the dependencies and then pipenv shell for entering the virtual environment.
flake8 . --count --max-line-length=127
The config for pytest is stored in pytest.ini. Simply run pytest from within the virtual environment