Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/tin2tin/Python_Stylechecker_for_Blender
- Owner: tin2tin
- Created: 2019-10-24T14:51:59.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T06:06:22.000Z (over 4 years ago)
- Last Synced: 2024-04-28T05:51:11.433Z (7 months ago)
- Language: Python
- Size: 28.3 KB
- Stars: 12
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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