About

Welcome to Panela, Matt Harrison's take on mostly Open Source, Linux, Python, innovation in those areas, other buzzwords and Dick Proenneke. It comes complete with the illustrations as needed. Note the opinions expressed here are merely my opinions and not the opinions of my employer.

about Matt

Calendar

««Nov 2009»»
SMTWTFS
1234567
8910
11
12
1314
151617
18
192021
22232425262728
2930

Mailing List

My RSS Feeds








Tips for Python code auditing

posted 2006.04.10 Mon
Caught this gem lurking on the Portage-dev mailing list. If you are doing a code audit of python code you would do well to follow these tips (courtesty Brian Harring, ex-gentoo dev).
Sprinkle that with unittests, pymetrics and pychecker and you could have some fun spring cleaning your code. (Note that Gentoo's python code isn't necessarily "pythonic" or simple. PyMetrics reports the complexity of many of the functions at > 30 (complex/high-risk). Also some of these are gentooisms (ie tabs instead of spaces)) Add to: delicious Digg

tags:      

links: digg this    del.icio.us    reddit