PullRequester

class neophile.pr.PullRequester(path: Path, config: Configuration, session: ClientSession)

Bases: object

Create GitHub pull requests.

Parameters

Methods Summary

make_pull_request(changes)

Create or update a pull request for a list of changes.

Methods Documentation

async make_pull_request(changes: Sequence[Update]) None

Create or update a pull request for a list of changes.

Parameters

changes (Sequence[neophile.update.base.Update]) – The changes.

Raises

neophile.exceptions.PushError – Pushing the branch to GitHub failed.