OWASP/wrongsecrets

Format Python scripts using Black

za opened this issue · 3 comments

za commented

Hi there,

What if we format the Python scripts scripts/sort_contibutors/main.py using Black? The goal of formatting is to increase readability of the code (as we follow the standardized format on writing the code).

If OK, I'll create a PR for this. So far, I only found one Python script on this repo.

Hi @za ,
I am fine if you format imports/code, but can you please add any formatter to the pre-commit hooks? Note: the pre-commit hooks need to run on windows/linux and primarily on MacOS.

za commented

OK, will have a look on the pre-commit part @commjoen

za commented

Thanks for the review @commjoen !