Linting
- Python Linting for uniform code formatting
Prerequisities:β
Need to install Linting and Formatting Libraries first
Installationβ
pip install pylint
pip install black
Codeβ
you can add the below in your precommits so it is automated.
black --target-version=py38 .
find . -type f -name "*.py" | xargs pylint