-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Action URLS Cleanup (and other goodies) #983
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
# Interests | ||
path('actions/bounty/<int:bounty_id>/interest/new/', dashboard.views.new_interest, name='express-interest'), | ||
path('actions/bounty/<int:bounty_id>/interest/remove/', dashboard.views.remove_interest, name='remove-interest'), | ||
path('actions/bounty/<int:bounty_id>/interest/<int:profile_id>/uninterested/', dashboard.views.uninterested, name='uninterested'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E501 line too long (134 > 120 characters)
app/dashboard/views.py
Outdated
@@ -493,11 +478,39 @@ def new_bounty(request): | |||
return TemplateResponse(request, 'submit_bounty.html', params) | |||
|
|||
|
|||
def fulfill_bounty(request): | |||
|
|||
def accept_bounty(request, pk): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E303 too many blank lines (3)
Codecov Report
@@ Coverage Diff @@
## master #983 +/- ##
==========================================
- Coverage 32.85% 32.83% -0.02%
==========================================
Files 100 100
Lines 6614 6621 +7
Branches 809 808 -1
==========================================
+ Hits 2173 2174 +1
- Misses 4332 4338 +6
Partials 109 109
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
app/dashboard/views.py
Outdated
issue_url = request.GET.get('source') | ||
def increase_bounty(request, pk): | ||
"""Increase a bounty as the funder. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W293 blank line contains whitespace
app/dashboard/views.py
Outdated
|
||
Returns: | ||
TemplateResponse: The increase bounty view. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W293 blank line contains whitespace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
app/dashboard/views.py
Outdated
def fulfill_bounty(request): | ||
"""Fulfill a bounty.""" | ||
|
||
def accept_bounty(request, pk): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E303 too many blank lines (3)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, lgtm.
Made a few changes:
- docstrings to reflected the updates and conform to pep-257/258.
- url entries being moved around to use the current django methods:
re_path
versusurl
- bare
except
toexcept Bounty.DoesNotExist
to passflake8
E722
We might want to hold off on merging this until we have pytest/travis in a passing state, though!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your eslint configuration output the following error:
ESLint couldn't find the plugin "eslint-plugin-html". This can happen for a couple different reasons:
The above plugin is not installed.
buidl passed! |
Description
This PR
Checklist
Affected core subsystem(s)
ui, bounty
Testing
tested it end to end
Refers/Fixes
#533