Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31631 > unrolled thread

Python Web Frameworks PEP8 Consistency

Started byAndriy Kornatskyy <andriy.kornatskyy@live.com>
First post2012-10-18 15:47 +0300
Last post2012-10-18 15:47 +0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Python Web Frameworks PEP8 Consistency Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-18 15:47 +0300

#31631 — Python Web Frameworks PEP8 Consistency

FromAndriy Kornatskyy <andriy.kornatskyy@live.com>
Date2012-10-18 15:47 +0300
SubjectPython Web Frameworks PEP8 Consistency
Message-ID<mailman.2427.1350564521.27098.python-list@python.org>
The code is read much more often than it is written. The PEP8 guidelines are intended to improve the readability of code. We will take a look at web frameworks source code readability (bottle, cherrypy, circuits, django, flask, pyramid, tornado, web.py, web2py and wheezy.web):

http://mindref.blogspot.com/2012/10/python-web-pep8-consistency.html

The ratio between a web framework total python source lines to PEP8 errors found represents PEP8 error rate in respectful framework.

Readability counts, no doubt, but readability consistency is important, it is equally important to know when to be inconsistent. The report makes excuse for the following:

E501 line too long (> 79 characters)
E231 missing whitespace after ',:'
W291 trailing whitespace
W293 blank line contains whitespace

Comments or suggestions are welcome.

Thanks.

Andriy Kornatskyy
 		 	   		  

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web