Auto check for code style policy/code errors

Bug #780454 reported by Abbakus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Virtualbricks
Fix Released
Medium
Abbakus

Bug Description

I would like to auto-execute code style policy and code errors checks to achieve better code quality and avoid common mistakes.

Being install mandatory for executing VB, I would insert common checks into "install.sh" script.

Revision history for this message
Abbakus (abbakus) wrote :

Well, I forgot to mention that I will use Pyflakes and Pylint as Pilou suggested in his mail (15/03/11).

Changed in virtualbrick:
assignee: nobody → Abbakus (abbakus)
milestone: none → 0.5
importance: Undecided → Medium
Revision history for this message
Abbakus (abbakus) wrote :

Implemented on rev 281.

Now when launching install.sh script if the ."bzr" dir is found (always for developer, never for user installing from release packet) you see pylint/pyflakes output.

Notice that we get many: " undefined name '_' " and " Undefined variable '_' ". It is clearly related to l10n. I'll investigate.

Changed in virtualbrick:
status: New → Fix Committed
Revision history for this message
Abbakus (abbakus) wrote :

Fixed the " undefined name '_' " and " Undefined variable '_' " false errors in rev 291.

Changed in virtualbrick:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.