Relatively recently in TVM’s development we introduced the use of clang-format to all of our C++ code. Overall I think this has been a huge win and makes it much simpler to maintain consistent style across the code base and reduces the amount of time spent fighting the linter in CI.
I propose that we adopt a Python formatting tool such as Black to the code base such that we no longer have to spend cycles manually formatting code. Futhermore there are many parts of the code base, such as tests in which the linter is currently disabled due the painful need to maintain style in those files.
If we adopt an automatic formatter I propose we more aggressively turn on linting and by extension auto-formatting for those parts of the code base as well.