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.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/rfc-introduce-automatic-formatting-of-python-code/7843/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/7d7f7dfaf4dc66ecb46ff13c2afbc66a8c2bbe972855b17dd494d2e586fe631b).

Reply via email to