-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PEP8Bear: Show PEP8 error description #1897
Comments
TL;DR Make PEP8Bear give error descriptions from PEP8 instead of just saying |
Add PEP8 error message description for every error found by autopep8 during PEP8Bear analysis. Closes coala#1897
If I recall correctly, PEP8 allows an "issue-format" that provides more detailed messages. But then we don't have patches. Best would be to have patches and issues combined. |
We would have to rather fix this for all bears that have code correcting capabilities. I bumped into another similar issue, see #502 |
Add PEP8 error message description for every error found by autopep8 during PEP8Bear analysis. Utilizes pycodestyle (as autopep8). Closes coala#1897
PEP8Bear is an exception as it uses the python module directly, which is more flexible. For external linter executables this is a huge problem^^ |
Add PEP8 error message description for every error found by autopep8 during PEP8Bear analysis. Utilizes pycodestyle (as autopep8). Closes coala#1897
Add PEP8 error message description for every error found by autopep8 during PEP8Bear analysis. Utilizes pycodestyle (as autopep8). Closes coala#1897
Add PEP8 error message description for every error found by autopep8 during PEP8Bear analysis. Utilizes pycodestyle (as autopep8). Best case senario: - errors list and diffs list have the same size. Worst case scenario: - errors list is sorter than the diffs list: The loop will utilize every error and then will print an empty line bellow the 'does not comply' message. - errors list is empty: The loop will only print the 'does not comply' message. - errors list is larger than diffs list: The loop will print every diff and the corresponding error. Closes coala#1897
This issue is reserved under the GSoC project Improve Generic Bear Quality. |
Originally created by @TheMeaningfulEngineer on coala/coala#2511
Overview Description
Coala doesn't give a description of the error what PEP8 does.
Steps to Reproduce
Files:
example.py
.coafile
Actual Results
Expected Results
It would be nice to get the error description which PEP8 gives somewhere.
The text was updated successfully, but these errors were encountered: