PEP fixes

This commit is contained in:
Oliver Walters 2019-05-07 14:48:35 +10:00
parent dcbd5d819c
commit 9a6cf259a6
2 changed files with 1 additions and 6 deletions

View File

@ -5,7 +5,6 @@ Provides helper functions used throughout the InvenTree project
import io import io
import json import json
import os.path import os.path
from datetime import datetime
from PIL import Image from PIL import Image
import requests import requests

View File

@ -7,10 +7,6 @@ from __future__ import unicode_literals
from django.shortcuts import get_object_or_404 from django.shortcuts import get_object_or_404
from django.core.validators import URLValidator
from django.core.exceptions import ValidationError
from django.http import JsonResponse
from django.urls import reverse_lazy from django.urls import reverse_lazy
from django.views.generic import DetailView, ListView from django.views.generic import DetailView, ListView
from django.forms.models import model_to_dict from django.forms.models import model_to_dict
@ -33,7 +29,7 @@ from .forms import EditSupplierPartForm
from InvenTree.views import AjaxView, AjaxCreateView, AjaxUpdateView, AjaxDeleteView from InvenTree.views import AjaxView, AjaxCreateView, AjaxUpdateView, AjaxDeleteView
from InvenTree.views import QRCodeView from InvenTree.views import QRCodeView
from InvenTree.helpers import DownloadFile, str2bool, TestIfImage, TestIfImageURL from InvenTree.helpers import DownloadFile, str2bool
class PartIndex(ListView): class PartIndex(ListView):