๐ Code Linting and Formatting¶
In order to keep the code clean, consistent and free of bad python practices, more than Over 10 pre-commit hooks are enabled !
Complete list of all enabled rules is available in the .pre-commit-config.yaml file.
โ๏ธ Setup¶
Info
Before linting, you must follow the installation steps.
Then, run the following command
# Lint
pre-commit run --all-files
When setting up local linting for development you can also run the following once:
# Install the pre-commit hook
pre-commit install
# Or equivalently
make init || make init-dev
๐ฅ Project quality scanner¶
Multiple tools are set up to maintain the best code quality and to prevent vulnerabilities:
SonarQube summary is available here.