Skip to content

chore: Add support for autoformtting tools.

Abhilash Raj requested to merge maxking/postorius:format into master

This commit adds support for blue and isort to autoformat the code so that it is consistent and we don't need to resolve formatting errors manually anymore.

A new tox command, tox -e format will format the current code using blue and isort commands.

Fix some small flake8 errors that showed up trying to use blue.

Update isort configuration to use import styles that work with blue instead of the previous default of 4.

Related #554

Edited by Abhilash Raj

Merge request reports

Loading