pyflakes should verify that code conforms to pep257

Bug #1418658 reported by Cris Dywan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pyflakes
Invalid
Undecided
Unassigned
pyflakes (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

There's a tool for performing a check for compliance with pep257 already https://pypi.python.org/pypi/pep257/0.4.1 and it'd be great if pyflakes could support that.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Sounds useful. I've marked the upstream project as also affected, since this will likely need to be added there.

Revision history for this message
Ian Cordasco (icordasc) wrote :

So PyFlakes is a linter, not a style checker. It checks for unused variables, imports, etc. It doesn't apply style consistency. pep8 and pep257 are two tools that apply style checks for style consistency.

Flake8 is a tool that provides linting and style checks (by utilizing pyfakes and pep8) and has an extension called "flake8-docstrings" which utilizes pep257 to provide the checks by running one tool.

pyflakes has no extension capability, and as far as I'm aware has no plans to add one since you have that feature through flake8.

Changed in pyflakes:
status: New → Invalid
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for the reply from upstream. :)

I'm now unsure what to do with the Ubuntu-part of this bug report, and whether that should simply be closed too. Christian, what do you think?

Changed in pyflakes (Ubuntu):
status: New → Incomplete
Revision history for this message
Ian Cordasco (icordasc) wrote :

@hjd, I strongly recommend marking it as Invalid. Unless Ubuntu wants to fork Pyflakes to add some kind of extension features (that already exist in another strongly related project) I don't know what the Ubuntu Pyflakes package can offer other than perhaps recommending pep257, pep8, flake8, and mccabe.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Sounds reasonable to me.

Changed in pyflakes (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.