Skip to content

Commit

Permalink
fix import lint error
Browse files Browse the repository at this point in the history
fix wrong-import-order / standard import "from builtins import str as text" should be placed before "import six"
  • Loading branch information
kelvin-muchiri committed Sep 19, 2024
1 parent 3319e8c commit a58a7ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onadata/apps/viewer/parsed_instance_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"""
import datetime
import json
import six
from builtins import str as text
from typing import Any, Tuple

Expand All @@ -13,6 +12,8 @@
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 a58a7ac

Please sign in to comment.