Created by: wangkuiyi
I added some rules into .pre-commit-config
so to
- Forbids and auto removes \r\n at the end of a line.
- Replace tabs in .py files by whitespaces.
- Remove trailing spaces.
Then I ran
pre-commit run -a
and updated existing files.