def __init__(self, sources=None, address=None, payload=None, **kwargs):
    payload = payload or Payload()
    payload.add_fields({
      'sources': self.create_sources_field(sources=sources,
                                           sources_rel_path=address.spec_path,
                                           key_arg='sources'),
    })
    super(ScalaJSLibrary, self).__init__(address=address, payload=payload, **kwargs)
Add an error caused by a node to the list of errors for pep8.
dataset/ETHPy150Open pantsbuild/pants/contrib/scalajs/src/python/pants/contrib/scalajs/targets/scala_js_library.py/ScalaJSLibrary.__init__--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/hacking/checks.py/BaseASTChecker.add_error