mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 11:04:02 +03:00
Add banned imports to prevent standard json import
This commit is contained in:
parent
8ab75a2f01
commit
901657e7e8
|
@ -1,5 +1,6 @@
|
|||
# PEP8 code linting, which we run on all commits.
|
||||
flake8==2.4.0
|
||||
flake8-tidy-imports==1.1.0
|
||||
pep8==1.5.7
|
||||
|
||||
# Sort and lint imports
|
||||
|
|
|
@ -5,7 +5,7 @@ from __future__ import absolute_import, unicode_literals
|
|||
|
||||
import datetime
|
||||
import decimal
|
||||
import json
|
||||
import json # noqa
|
||||
import uuid
|
||||
|
||||
from django.db.models.query import QuerySet
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
from __future__ import absolute_import
|
||||
|
||||
import functools
|
||||
import json
|
||||
import json # noqa
|
||||
|
||||
|
||||
def strict_constant(o):
|
||||
|
|
Loading…
Reference in New Issue
Block a user