Skip to content
Snippets Groups Projects
Commit 93604f7d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

pylint warnings ignored

parent ec0ca136
No related branches found
No related tags found
1 merge request!336Pylint checks
......@@ -27,7 +27,7 @@ class PrivacyNotice(models.Model):
# These two auto-delete files from filesystem when they are unneeded:
@receiver(models.signals.post_delete, sender=PrivacyNotice)
def auto_delete_file_on_delete(sender, instance: PrivacyNotice, **kwargs):
def auto_delete_file_on_delete(sender, instance: PrivacyNotice, **kwargs): # pylint: disable=unused-argument
"""
Deletes file from filesystem
when corresponding `MediaFile` object is deleted.
......@@ -38,7 +38,7 @@ def auto_delete_file_on_delete(sender, instance: PrivacyNotice, **kwargs):
@receiver(models.signals.pre_save, sender=PrivacyNotice)
def auto_delete_file_on_change(sender, instance: PrivacyNotice, **kwargs):
def auto_delete_file_on_change(sender, instance: PrivacyNotice, **kwargs): # pylint: disable=unused-argument
"""
Deletes old file from filesystem
when corresponding `PrivacyNotice` object is updated
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment