After discussion with @fabidick22 . We consider a pre-commit hook would be a good way to have a code formatting standard. Given discrepancies of formatting tools provided by the IDEs used (VS code and PyCharm).
We can use https://black.readthedocs.io/en/stable/ a popular code formatting tool and can be easily included with our current configuration of pre-commit hooks.