Fixed new pylint warnings.

use generator in any/all()
disable not-callable warnings
disable no-member warnings
Suppressed smaller pylint warnings
Pin edx-proctoring==3.5.0
This commit is contained in:
usamasadiq
2021-02-22 12:42:26 +05:00
parent 23d87e253f
commit 96f0915b0f
44 changed files with 73 additions and 86 deletions

View File

@@ -43,9 +43,7 @@ class AppVersionConfig(models.Model):
.. no_pii:
"""
PLATFORM_CHOICES = tuple(
[(platform, platform) for platform in sorted(PLATFORM_CLASSES.keys())]
)
PLATFORM_CHOICES = tuple((platform, platform) for platform in sorted(PLATFORM_CLASSES.keys()))
platform = models.CharField(max_length=50, choices=PLATFORM_CHOICES, blank=False)
version = models.CharField(