Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ wheel==0.24.0

# MkDocs for documentation previews/deploys
mkdocs==0.11.1
six==1.14.0
3 changes: 1 addition & 2 deletions rest_framework_yaml/compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
versions of django/python, and compatibility wrappers around optional packages.
"""
# flake8: noqa

from django.utils import six
import six
try:
import yaml
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion rest_framework_yaml/encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import decimal
import types

from django.utils import six
import six
from uuid import UUID
from .compat import (
yaml, yaml_represent_text, Hyperlink, OrderedDict, ReturnDict, ReturnList
Expand Down
2 changes: 1 addition & 1 deletion rest_framework_yaml/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from __future__ import unicode_literals

from django.conf import settings
from django.utils import six
import six
from rest_framework.exceptions import ParseError
from rest_framework.parsers import BaseParser

Expand Down