script for automating pep8 checks.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 13 Dec 2009 13:59:16 +0000 (13:59 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 13 Dec 2009 13:59:16 +0000 (13:59 +0000)
commita1656300ba14f9a220961814ab0366ece6900441
tree9bac019a4acecdbc81240a7b4d06284eeae4391d
parentc1bfd014bd8fb4af1ee51ed0e2aaecb707c46ff2
script for automating pep8 checks.

On ubuntu/debian install these tools...

   sudo apt-get install pylint pyflakes python-setuptools python-pip
   sudo pip install pep8

then run from blenders source dir...
   python release/test/pep8.py

This searches for the comments "# <pep8 compliant>" and "# <pep8-80 compliant>", running the checking tools on these scripts only.

* some minor pep8 corrections too.
20 files changed:
release/scripts/modules/bpy/__init__.py
release/scripts/modules/bpy/ops.py
release/scripts/modules/bpy/utils.py
release/scripts/modules/rigify/__init__.py
release/scripts/modules/rigify/arm_biped_generic.py
release/scripts/modules/rigify/copy.py
release/scripts/modules/rigify/delta.py
release/scripts/modules/rigify/leg_biped_generic.py
release/scripts/modules/rigify/neck_flex.py
release/scripts/modules/rigify/palm_curl.py
release/scripts/modules/rigify/spine_pivot_flex.py
release/scripts/modules/rigify_utils.py
release/scripts/modules/rna_prop_ui.py
release/scripts/op/object.py
release/scripts/op/wm.py
release/scripts/ui/properties_scene.py
release/scripts/ui/space_info.py
release/scripts/ui/space_sequencer.py
release/scripts/ui/space_userpref.py
release/test/pep8.py [new file with mode: 0644]