Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakdinesh1123 committed Sep 2, 2024
1 parent 5bb2737 commit 0469aaa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions backend/src/zango/apps/permissions/models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from django.utils import timezone

from django.db import models
from django.db.models import JSONField, Q
from django.utils import timezone

from zango.apps.auditlogs.registry import auditlog
from zango.core.model_mixins import FullAuditMixin
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion backend/src/zango/assets/js/jquery/3.7.1/jquery.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions backend/src/zango/core/utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import json
import phonenumbers

import phonenumbers
import pytz

from django.conf import settings
Expand Down Expand Up @@ -143,5 +143,5 @@ def validate_phone(phone_number, region=None):
phone_number = phonenumbers.parse(phone_number, region=region)
if phonenumbers.is_valid_number(phone_number):
return True
except:
except Exception:
return False

0 comments on commit 0469aaa

Please sign in to comment.