Disable doctest checking unless an option is passed
Bug #1223150 reported by
Jeffrey Tratner
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
It would be really great to be able to ignore/filter doctest errors. E.g.::
---
def something(f):
"""
>>> a + 1
"""
return f + 1
---
And you could choose to ignore the error about 'a' not being defined.
Changed in pyflakes: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'd love for this regression to be fixed. It is dumping a lot of spurious warnings into pyflakes output for my project.