Most probably due to different file format/encoding, which was set by some external format, git diff and (for example) pipenv treat this file as a binary:
git:
pipenv:
PyCharm show this as lines separator and a format:
While other source files are ok:
Usually LF and UTF-8 are defaults for a source file. Even if Python itself works fine with either LF or CRLF line separators, some external utilities aren't.
Please modify the file to be consistent with the rest of the code.
Most probably due to different file format/encoding, which was set by some external format,
git diff
and (for example)pipenv
treat this file as a binary:git:
pipenv:
PyCharm show this as lines separator and a format:
While other source files are ok:
Usually
LF
andUTF-8
are defaults for a source file. Even if Python itself works fine with eitherLF
orCRLF
line separators, some external utilities aren't. Please modify the file to be consistent with the rest of the code.