Code style

black and pre-commit

We use pre-commit to apply the code style via black and run pylint.

Install the pre-commit git hook:

pre-commit install

Run manually for all files:

pre-commit run --all-files

SonarQube

We use SonarQube for static code analysis, the main branch and all pull requests are analyzed automatically.