Commit 901657e7 by Ryan P Kilby Committed by Carlton Gibson

Add banned imports to prevent standard json import

parent 8ab75a2f
# PEP8 code linting, which we run on all commits. # PEP8 code linting, which we run on all commits.
flake8==2.4.0 flake8==2.4.0
flake8-tidy-imports==1.1.0
pep8==1.5.7 pep8==1.5.7
# Sort and lint imports # Sort and lint imports
......
...@@ -5,7 +5,7 @@ from __future__ import absolute_import, unicode_literals ...@@ -5,7 +5,7 @@ from __future__ import absolute_import, unicode_literals
import datetime import datetime
import decimal import decimal
import json import json # noqa
import uuid import uuid
from django.db.models.query import QuerySet from django.db.models.query import QuerySet
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
from __future__ import absolute_import from __future__ import absolute_import
import functools import functools
import json import json # noqa
def strict_constant(o): def strict_constant(o):
......
...@@ -6,3 +6,4 @@ license_file = LICENSE.md ...@@ -6,3 +6,4 @@ license_file = LICENSE.md
[flake8] [flake8]
ignore = E501 ignore = E501
banned-modules = json = use from rest_framework.utils import json!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment