Settings preferences to pyflakes (with python-mode in vim)
104 views
Skip to first unread message
alonn
unread,
Apr 20, 2014, 4:07:08 PM4/20/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pywe...@googlegroups.com
I'm getting lots of errors I don't care about: mostly this kind:
fabfile.py|2 error| W0611 'os' imported but unused [pyflakes]
when I import something I'm going to use later but not yet
Is there a way (similar to a .jshintrc) file to Silence certain pyflakes errors warnings?
Thanks!
ronny
unread,
Apr 23, 2014, 9:12:20 AM4/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pywe...@googlegroups.com
It's annoying at first, but I've found it pretty helpful. Just comment out the line until you need it.
Shai Berger
unread,
Apr 23, 2014, 9:52:49 AM4/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pywe...@googlegroups.com
Not sure about pyflakes, but flake8 (which, IIUC, runs both pyflakes and pep8
checks) lets you put a [flake8] section in a setup.cfg file (or possibly some
other places).