I know that for jupyter notebooks and jupyter lab, there are available code formatter extensions such as nb_black
or blackcellmagic
. However when I installed them, it doesn't seem to work on google colab.
Do you know if there are any native option in colab or an extension that formats code (pep8 compliant)?