Repository navigation
Eval cog improvements #710
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
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ab0d44b
Hardcode SIGKILL value
Akarys42 e53492e
Correct eval output to include the 11th line
Akarys42 b5730e0
Don't strip whitespaces during snekbox formatting
Akarys42 6991e5f
Re-eval snippet with emoji reaction
Akarys42 6b384f1
Merge branch 'master' into eval-enhancements
Akarys42 032e1b8
Use actual functions instead of lambdas for bot.wait_for
Akarys42 adf63e6
Create an AsyncContextManagerMock mock for testing asynchronous conte…
Akarys42 8c8f8dd
Write tests for bot/cogs/test_snekbox.py
Akarys42 68cf5d8
Use pregenerated partials
Akarys42 e1e68ad
Suppress HTTPException while deleting bot output
Akarys42 8b386b5
Snekbox small refactoring
Akarys42 3376940
Split assertion onto separate lines
Akarys42 2974d48
Split assertions onto separate lines
Akarys42 dd9c250
Delete additional informations from subtest
Akarys42 b5a1bf7
Use a space instead of an empty string in test_get_status_emoji
Akarys42 c1a998c
Assert return value of Snekbox.post_eval
Akarys42 12f43fc
Use kwargs to set mock attributes
Akarys42 5a1cae4
Merge branch 'master' into eval-enhancements
Akarys42 f87f755
Split the eval command procedure into two functions.
Akarys42 afc74fa
Use unicode code point instead of literal for the snekbox re-eval emoji
Akarys42 b62e15f
Return only the new code in continue_eval and check for truthiness in…
Akarys42 77ee577
Ignore NotFound errors inside continue_eval
Akarys42 b86fb16
Merge remote-tracking branch 'origin/master' into eval-enhancements
MarkKoz b8769e0
Snekbox: mention re-evaluation feature in the command's docstring
MarkKoz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.