Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 917 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 917 Bytes

Python Stylechecker(pep8) for Blender

Pycodestyle integrated into Blender Text Editor

pycodestyle must be installed first:

Locate your Blender's Python binary path by running bpy.app.binary_path_python in the Python Console. It will display the path to blender python binary. Let's call it (in my case 2.80/python/bin/python.exe at the Blender installation).

Run the following to enable pip operations in bpython:

<BPYTHON> -m pip install --upgrade pip

Now install the pycodestyle package by simply call pip from bpython:

<BPYTHON> -m pip install pycodestyle

You just have to install a package once and uninstalling works the same way:

<BPYTHON> -m pip uninstall pycodestyle

Then download and install codestyle.py in Blender:

https://raw.githubusercontent.com/tin2tin/Python_Stylechecker_for_Blender/master/codestyle.py