I downloaded a repo with git on PyCharm and many of the indents on almost every single file are off

  git, pycharm, windows

I’m currently running Python 3.9, PyCharm 2021.1.3 with the Git client bundled, and when I pulled a repo for work, and almost every file has indents that are off, needing both indents and dedents. Has anyone ran into this problem before? I’ve attached a small screenshot from one of the init functions in one of the classes to demonstrate what it is I received when I cloned and downloaded.

enter image description here

Source: Windows Questions

LEAVE A COMMENT