Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tin2tin/Python_Stylechecker_for_Blender

Pycodestyle integrated into Blender Text Editor
https://github.com/tin2tin/Python_Stylechecker_for_Blender

Last synced: 3 months ago
JSON representation

Pycodestyle integrated into Blender Text Editor

Awesome Lists containing this project

README

        

# Python Stylechecker(pep8) for Blender
[Pycodestyle](https://github.com/PyCQA/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:
```
-m pip install --upgrade pip
```

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

You just have to install a package once and uninstalling works the same way:
```
-m pip uninstall pycodestyle
```

### Then download and install codestyle.py in Blender:
https://raw.githubusercontent.com/tin2tin/Python_Stylechecker_for_Blender/master/codestyle.py