Skip to content

Commit

Permalink
Fix pylint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Marishka17 committed Apr 15, 2021
1 parent 9caff79 commit 6413906
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cvat/apps/engine/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class JobInline(admin.TabularInline):
can_delete = False

# Don't show extra lines to add an object
def has_add_permission(self, request, object=None):
def has_add_permission(self, request, obj):
return False

class SegmentInline(admin.TabularInline):
Expand All @@ -21,7 +21,7 @@ class SegmentInline(admin.TabularInline):
can_delete = False

# Don't show extra lines to add an object
def has_add_permission(self, request, object=None):
def has_add_permission(self, request, obj):
return False


Expand Down
2 changes: 1 addition & 1 deletion cvat/apps/engine/cloud_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import boto3
from boto3.s3.transfer import TransferConfig
from botocore.exceptions import WaiterError, NoCredentialsError
from botocore.exceptions import WaiterError
from botocore.handlers import disable_signing

from azure.storage.blob import BlobServiceClient
Expand Down

0 comments on commit 6413906

Please sign in to comment.