diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst --- a/llvm/docs/CodingStandards.rst +++ b/llvm/docs/CodingStandards.rst @@ -189,6 +189,9 @@ Other Languages --------------- +Go +^^ + Any code written in the Go programming language is not subject to the formatting rules below. Instead, we adopt the formatting rules enforced by the `gofmt`_ tool. @@ -205,6 +208,23 @@ .. _Go Code Review Comments: https://github.com/golang/go/wiki/CodeReviewComments +Python +^^^^^^ + +Any code written in the Python programming language is not subject to the +formatting rules below. Instead, we adopt the formatting rules specified by +Python's `PEP8`_ standard. This can be verified by tools such as `flake8`_ and +`pep8`_ + +.. _PEP8: + https://www.python.org/dev/peps/pep-0008/ + +.. _flake8: + http://flake8.pycqa.org/en/latest/ + +.. _pep8: + https://pypi.org/project/pep8/ + Mechanical Source Issues ========================