grantmcconnaughey / Lintly

Automated GitHub PR code reviewer for Python, JavaScript, CSS, and more.
MIT License
92 stars 18 forks source link

[feature request] option for change base url of github api client #64

Open skspark opened 1 year ago

skspark commented 1 year ago

Hello, I'd like to ask if the option for changing base url on the github host, which is specified directly in here: https://github.com/grantmcconnaughey/Lintly/blob/2c7942aaffa828c58d75066b06a56b5f7bf2b1e0/lintly/backends/github.py#L164

client = GitHubAPIClient(token=self.token)
client.base_url = 'https://api.github.com'

so that I can change this url for the custom github host, e.g. github api server per enterprise.