docs: def setup(self):
          """ Set up inotify manager.
  
              See https://github.com/seb-m/pyinotify/.
          """
          if not pyinotify.WatchManager:
              raise error.UserError("You need to install 'pyinotify' to use %s (%s)!" % (
                  self.__class__.__name__, pyinotify._import_error)) # pylint: disable=E1101, W0212
  
          self.manager = pyinotify.WatchManager()
          self.handler = TreeWatchHandler(job=self)
          self.notifier = pyinotify.AsyncNotifier(self.manager, self.handler)
  
          if self.LOG.isEnabledFor(logging.DEBUG):
              mask = pyinotify.ALL_EVENTS
          else:
              mask = pyinotify.IN_CLOSE_WRITE | pyinotify.IN_MOVED_TO # bogus pylint: disable=E1101
  
          # Add all configured base dirs
          for path in self.config.path:
              self.manager.add_watch(path.strip(), mask, rec=True, auto_add=True)