Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small improvements #14

Closed
wants to merge 5 commits into from
Closed

small improvements #14

wants to merge 5 commits into from

Conversation

sgratzl
Copy link
Contributor

@sgratzl sgratzl commented Mar 19, 2019

please test, cause I don't have a proper setup yet

@@ -226,6 +226,7 @@ def inline_add_repo(update, context):
results = []
if access_token:
filtered_repositories = []
registered_repos = context.chat_data.setdefault('repos', {})
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline callbacks have no chat_data as they don't receive the chat.
This leads me to believe that this might be quite difficult to implement.

@@ -180,7 +180,7 @@ def __init__(self, key, value, text=None, states=None, default=None):
if (text is None and states is None) or (text is not None and states is not None):
raise RuntimeError
if text is not None:
states = ((False, text), (True, '\u2714' + text))
states = ((False, text), (True, '☑️' + text))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good :D

pip-selfcheck.json

.vscode
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't add IDE specific stuff to gitignore files. It's a much better idea to use the global gitignore on your system :)

@jsmnbom
Copy link
Owner

jsmnbom commented Mar 19, 2019

Thanks a lot for taking the time to do this. I've left some review comments :)

@sgratzl sgratzl closed this Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

repository preview: hide already added repositories different toggle button icon
2 participants