Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
fix wrong-import-order / third party import "import six" should be placed before "from onadata.libs.utils.common_tags import KNOWN_DATE_FORMATS"
  • Loading branch information
kelvin-muchiri committed Sep 19, 2024
1 parent a58a7ac commit 72fe51d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions onadata/apps/viewer/parsed_instance_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@
import json
from builtins import str as text
from typing import Any, Tuple
import six

from django.utils.translation import gettext_lazy as _

from onadata.libs.utils.common_tags import KNOWN_DATE_FORMATS
from onadata.libs.exceptions import InavlidDateFormat

import six


KNOWN_DATES = ["_submission_time", "_last_edited", "_date_modified"]
NONE_JSON_FIELDS = {
Expand Down

0 comments on commit 72fe51d

Please sign in to comment.