Browse code

PEP8 set the line limit (#32578)

Highlight that the line length is limited to 160 characters now, since the test will fail if the line is longer than 160 chars.

Chafik Bel authored on 2017/11/06 21:38:54
Showing 1 changed files
... ...
@@ -15,11 +15,11 @@ Language
15 15
   * 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!!  
16 16
 
17 17
 PEP 8 and basic style checks
18
-===========================
18
+============================
19 19
 
20 20
   * [PEP 8](https://www.python.org/dev/peps/pep-0008/) is a great Python style guide, which you should read.
21 21
   * PEP 8 must not be strictly followed in all aspects, but most of it is good advice
22
-  * In particular, we don't really care about line lengths.  Buy a bigger monitor!
22
+  * The line is limited to 160 characters.
23 23
   * To run checks for things we care about, use [ansible-test](http://docs.ansible.com/ansible/dev_guide/testing_pep8.html#running-locally).
24 24
   * Similarly, additional checks can be made with "make pyflakes"
25 25
   * 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.