Commit 2282af27 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

_scheduler/job.py: Disable attribute-defined-outside-init lint error

This is in a derived Process from the standard lib, we add this
here because we are unsure about the constructor signature.
parent 1fcfd000
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ class Envelope():
# Process class that doesn't call waitpid on its own.
# This prevents conflicts with the asyncio child watcher.
class Process(multiprocessing.Process):
    # pylint: disable=attribute-defined-outside-init
    def start(self):
        self._popen = self._Popen(self)
        self._sentinel = self._popen.sentinel