summaryrefslogtreecommitdiff
path: root/CODING_GUIDELINES.md
diff options
context:
space:
mode:
authorPilou <pierre-louis@libregerbil.fr>2017-07-13 20:46:31 +0200
committerMatt Clay <matt@mystile.com>2017-07-13 11:46:31 -0700
commit4b3d6dfa8a10188995e1b027849540e1a440e88d (patch)
treee35ec9684feed7c8eaea3b398941973fdff86d7d /CODING_GUIDELINES.md
parent7329a392ff5704096e00fcf4e19f0c22154ccf2a (diff)
downloadansible-4b3d6dfa8a10188995e1b027849540e1a440e88d.tar.gz
Use pycodestyle instead of pep8 (#25947)
Diffstat (limited to 'CODING_GUIDELINES.md')
-rw-r--r--CODING_GUIDELINES.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/CODING_GUIDELINES.md b/CODING_GUIDELINES.md
index bc4cee1e50..72afc7a263 100644
--- a/CODING_GUIDELINES.md
+++ b/CODING_GUIDELINES.md
@@ -14,15 +14,15 @@ Language
* While not all components of Ansible must be in Python, core contributions to the Ansible repo must be written in Python. This is to maximize the ability of everyone to contribute.
* If you want to write non-Python ansible modules or inventory scripts, that's fine, but they are not going to get merged in most likely. Sorry!!
-PEP8 and basic style checks
+PEP 8 and basic style checks
===========================
- * PEP8 is a great Python style guide, which you should read.
- * PEP8 must not be strictly followed in all aspects, but most of it is good advice
+ * [PEP 8](https://www.python.org/dev/peps/pep-0008/) is a great Python style guide, which you should read.
+ * PEP 8 must not be strictly followed in all aspects, but most of it is good advice
* In particular, we don't really care about line lengths. Buy a bigger monitor!
- * To run checks for things we care about, run "make pep8"
+ * To run checks for things we care about, use [ansible-test](http://docs.ansible.com/ansible/dev_guide/testing_pep8.html#running-locally).
* Similarly, additional checks can be made with "make pyflakes"
- * There is no need to submit code changes for pep8 and pyflake fixes, as these break attribution history. Project leadership will make these periodically.
+ * There is no need to submit code changes for PEP 8 and pyflakes fixes, as these break attribution history. Project leadership will make these periodically.
* Do not submit pull requests that simply adjust whitespace in the code
Testing