Skip to content

Commit 4bb5b54

Browse files
committed
style: no need to disable a rule and its useless suppression warning
1 parent 8827634 commit 4bb5b54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coverage/collector.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ def __init__(
146146
self.concur_id_func = greenlet.getcurrent
147147
elif "eventlet" in concurrencies:
148148
tried = "eventlet"
149-
import eventlet.greenthread # pylint: disable=import-error,useless-suppression
149+
import eventlet.greenthread
150150

151151
self.concur_id_func = eventlet.greenthread.getcurrent
152152
elif "gevent" in concurrencies:
153153
tried = "gevent"
154-
import gevent # pylint: disable=import-error,useless-suppression
154+
import gevent
155155

156156
self.concur_id_func = gevent.getcurrent
157157

0 commit comments

Comments
 (0)