A boilerplate setup for basic stuff like linting, prettier, changelog, tests for a python app
- clone the repo
git clone git@github.com:dbads/python-app-setup.git
- create a virtual environment
python3 -m venv path/to/venv
- install the requrirements
pip install -r requirements.txt
- install the recommended vscode extensions if using the vscode or similar extensions in your IDE
- to use flake8/pylint as a linter, enable them in
.vscode/settings.json
or globally insettings.json
- set a formatting provider in
settings.json
settings.json
contains basic setup, see for example. You can modify the settings as per the need and use.
For any queries reach out to me at deepakbharti@mnnit.ac.in.