Skip to content

Commit

Permalink
[Hexlet#364] Fix D400 lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jespy666 committed Nov 23, 2023
1 parent 32f7ae3 commit ea077b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contributors/templatetags/contrib_extras.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def prepare_contribution_labels_param_value(labels_param): # noqa: WPS430

@register.simple_tag(takes_context=True)
def get_canonical_url(context):
"""Get canonical url from request"""
"""Get canonical url from request."""
request = context.get('request')
if request:
return request.build_absolute_uri(request.path)
Expand Down

0 comments on commit ea077b6

Please sign in to comment.