]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/contributing/coding_style.rst
doc: add pep8 as the python code style guidelines
[dpdk.git] / doc / guides / contributing / coding_style.rst
index ad1392d2e426d91a9ab6bb11dc6253a307e999ba..1eb67f34760585cde4947031f597c2d8186fb3af 100644 (file)
@@ -685,3 +685,11 @@ Control Statements
                  usage();
                  /* NOTREACHED */
          }
                  usage();
                  /* NOTREACHED */
          }
+
+
+Python Code
+-----------
+
+All python code should be compliant with `PEP8 (Style Guide for Python Code) <https://www.python.org/dev/peps/pep-0008/>`_.
+
+The ``pep8`` tool can be used for testing compliance with the guidelines.