myth / pepper8 Goto Github PK
View Code? Open in Web Editor NEWTransform pep8 or flake8 output to HTML
License: MIT License
Transform pep8 or flake8 output to HTML
License: MIT License
$ pip install pepper8
Downloading/unpacking pepper8
Downloading pepper8-1.0.4.tar.gz
Running setup.py egg_info for package pepper8
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/build/pepper8/setup.py", line 6, in <module>
from pepper8.main import VERSION
File "pepper8/main.py", line 10, in <module>
from pepper8.generator import HtmlGenerator
File "pepper8/generator.py", line 8, in <module>
from jinja2 import Template
ImportError: No module named jinja2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/build/pepper8/setup.py", line 6, in <module>
from pepper8.main import VERSION
File "pepper8/main.py", line 10, in <module>
from pepper8.generator import HtmlGenerator
File "pepper8/generator.py", line 8, in <module>
from jinja2 import Template
ImportError: No module named jinja2
----------------------------------------
Command python setup.py egg_info failed with error code 1
In other hand, the jinja2
install in same time with pepper8
isn't help.
Would be interesting if there was also the option to generate the html including the respective outputs of --show-source
I have found a bug in the latest version of pepper8
pip install
.--select
.flake8
to get text output.pepper8
on the output of flake8
.You will be able to see the standard flake8
warnings and errors in the HTML output, but not the output resulting from plugins, which are present in the text output.
There are number of plugins producing errors which are not handled correctly. They have different issues, but I'll list them together:
project/urls.py:115:5: DJ05 Missing namespace in urls include()
project/some.py:16:1: PYD016 Overlapping regexp ranges: 'A-z', '_'
project/some.py:218:2: E800: Found commented out code
Here is what flake8 doc says about error codes:
Your entry point does not need to be exactly 4 characters as of Flake8 3.0. Consider using an entry point with 3 letters followed by 3 numbers (i.e. ABC123 ).
I understand that some of the above doesn't comply well with the above rule, but these plugins work and people are already using them and are most probably stick with those error codes, so I don't think it makes sense to change them. (# 3 is surely not the case.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.