Conversation
|
It seems this build will fail until this is resolved: cosmin/stashy#62 |
|
for testing purposes in the PR i think it's okay to have it depend directly on the git repo. for merging i'd be okay with depending on the git repo if we can find a way to make it optional so that things dont break if you dont have a connection to github. |
| return False | ||
|
|
||
| @staticmethod | ||
| def format_message(message): |
There was a problem hiding this comment.
i wonder if this should be moved to the parent class or to a utility module. thoughts?
There was a problem hiding this comment.
Well, the implementation here is slightly different from github.py because the structure of comments in the stash API is different. I couldn't think of a good way to extract the shared logic from what is unique to each interface. Any suggestions?
There was a problem hiding this comment.
ah i didn't notice the difference, nevermind
inlineplz/main.py
Outdated
| repo: Repository name | ||
| pr: Pull request ID | ||
| token: Authentication for repository | ||
| username: (If not using token) username for repository |
There was a problem hiding this comment.
Oops, that's wrong. Should be user
|
|
||
|
|
||
| class StashInterface(InterfaceBase): | ||
| def __init__(self, project, repo, pr, auth, url=None): |
There was a problem hiding this comment.
prospector: pylint: Too many arguments (6/5) (too-many-arguments)
871ecff to
f371d36
Compare
| # -*- coding: utf-8 -*- | ||
| from __future__ import absolute_import | ||
|
|
||
| import stashy |
There was a problem hiding this comment.
prospector: pylint: Unable to import 'stashy' (import-error)
Added interface for Atlassian Stash