Commit a0f41b7f authored by Jason Madden's avatar Jason Madden

Disable a pylint false-positive due to dynamic import.

parent 9dc8b339
...@@ -22,7 +22,10 @@ def _get_linkable(): ...@@ -22,7 +22,10 @@ def _get_linkable():
locals()['AbstractLinkable'] = _get_linkable() locals()['AbstractLinkable'] = _get_linkable()
del _get_linkable del _get_linkable
# Sadly, something about the way we have to "import" AbstractLinkable
# breaks pylint's inference of slots, even though they're declared
# right here.
# pylint:disable=assigning-non-slot
class Event(AbstractLinkable): # pylint:disable=undefined-variable class Event(AbstractLinkable): # pylint:disable=undefined-variable
"""A synchronization primitive that allows one greenlet to wake up one or more others. """A synchronization primitive that allows one greenlet to wake up one or more others.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment