fix: fix 'unused-import' for pylint
This commit is contained in:
parent
2d61d6aecf
commit
4194d20988
3 changed files with 2 additions and 11 deletions
|
@ -31,4 +31,3 @@ disable=fixme,
|
||||||
too-many-public-methods,
|
too-many-public-methods,
|
||||||
unnecessary-lambda-assignment,
|
unnecessary-lambda-assignment,
|
||||||
unused-argument,
|
unused-argument,
|
||||||
unused-import,
|
|
||||||
|
|
|
@ -29,24 +29,16 @@ import json
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import colander
|
|
||||||
import sqlalchemy as sa
|
import sqlalchemy as sa
|
||||||
from sqlalchemy import orm
|
from sqlalchemy import orm
|
||||||
|
|
||||||
from webhelpers2.html import tags, HTML
|
from webhelpers2.html import tags, HTML
|
||||||
|
|
||||||
from wuttaweb.views import MasterView
|
from wuttaweb.views import MasterView
|
||||||
from wuttaweb.forms.schema import (
|
from wuttaweb.forms.schema import UserRef, WuttaMoney, WuttaQuantity, WuttaDictEnum
|
||||||
UserRef,
|
|
||||||
WuttaMoney,
|
|
||||||
WuttaQuantity,
|
|
||||||
WuttaEnum,
|
|
||||||
WuttaDictEnum,
|
|
||||||
)
|
|
||||||
from wuttaweb.util import make_json_safe
|
from wuttaweb.util import make_json_safe
|
||||||
|
|
||||||
from sideshow.db.model import Order, OrderItem
|
from sideshow.db.model import Order, OrderItem
|
||||||
from sideshow.batch.neworder import NewOrderBatchHandler
|
|
||||||
from sideshow.web.forms.schema import (
|
from sideshow.web.forms.schema import (
|
||||||
OrderRef,
|
OrderRef,
|
||||||
LocalCustomerRef,
|
LocalCustomerRef,
|
||||||
|
|
|
@ -25,7 +25,7 @@ Views for Products
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from wuttaweb.views import MasterView
|
from wuttaweb.views import MasterView
|
||||||
from wuttaweb.forms.schema import UserRef, WuttaEnum, WuttaMoney, WuttaQuantity
|
from wuttaweb.forms.schema import UserRef, WuttaMoney, WuttaQuantity
|
||||||
|
|
||||||
from sideshow.enum import PendingProductStatus
|
from sideshow.enum import PendingProductStatus
|
||||||
from sideshow.db.model import LocalProduct, PendingProduct
|
from sideshow.db.model import LocalProduct, PendingProduct
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue