# RFC: Introduce automatic formatting of Python code

**URL:** <https://discuss.tvm.apache.org/t/rfc-introduce-automatic-formatting-of-python-code/7843>\
**Category:** RFC\
**Created:** [September 8, 2020, 7:51pm UTC](https://discuss.tvm.apache.org/t/rfc-introduce-automatic-formatting-of-python-code/7843 "2020-09-08T19:51:19Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![tkonolige](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/tkonolige/32/1972_2.png) [@tkonolige](https://discuss.tvm.apache.org/u/tkonolige)\
**Post date:** [September 8, 2020, 8:56pm UTC](https://discuss.tvm.apache.org/t/rfc-introduce-automatic-formatting-of-python-code/7843/6 "2020-09-08T20:56:33Z")

</div>

One thing to note about black is it does not support partial formatting of files, so we cannot run in on the diffs of every PR. It would be probably be best if we run it over the whole codebase before/when it is enabled.

---

_[View the full topic](https://discuss.tvm.apache.org/t/rfc-introduce-automatic-formatting-of-python-code/7843)._
