Skip to content

Commit

Permalink
fix pylint error
Browse files Browse the repository at this point in the history
fix pylint: unrecognized-inline-option / Unrecognized file option 'invalid-name'
  • Loading branch information
kelvin-muchiri committed Mar 27, 2024
1 parent 9ac517c commit 6382c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onadata/apps/api/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def regenerate_form_instance_json(xform_id: int):
@app.task()
def add_org_user_and_share_projects_async(
org_id, user_id, role
): # pylint: invalid-name
): # pylint: disable=invalid-name
"""Add user to organization and share projects asynchronously"""
organization = OrganizationProfile.objects.get(pk=org_id)
user = User.objects.get(pk=user_id)
Expand Down

0 comments on commit 6382c4b

Please sign in to comment.