diff --git a/website_coupon/__init__.py b/website_coupon/__init__.py index 1ded18c1b..998e7cb19 100644 --- a/website_coupon/__init__.py +++ b/website_coupon/__init__.py @@ -2,7 +2,7 @@ ############################################################################## # # Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Copyright (C) 2017-TODAY Cybrosys Technologies() # Author: LINTO C T() # you can modify it under the terms of the GNU LESSER # GENERAL PUBLIC LICENSE (LGPL v3), Version 3. @@ -21,5 +21,5 @@ # ############################################################################## -import models -import controllers +import models # noqa +import controllers # noqa diff --git a/website_coupon/__manifest__.py b/website_coupon/__manifest__.py index c161555f3..31322d47b 100644 --- a/website_coupon/__manifest__.py +++ b/website_coupon/__manifest__.py @@ -3,7 +3,7 @@ ############################################################################## # # Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Copyright (C) 2017-TODAY Cybrosys Technologies() # Author: LINTO C T() # you can modify it under the terms of the GNU LESSER # GENERAL PUBLIC LICENSE (LGPL v3), Version 3. @@ -24,7 +24,8 @@ { 'name': 'Website Coupon Code', 'version': '10.0.2.0.0', - 'summary': 'Manage Website Coupon Codes for Products/Categories/All Products & Its Redeem Operations', + 'summary': ('Manage Website Coupon Codes for ' + 'Products/Categories/All Products & Its Redeem Operations'), 'category': 'Website', 'author': 'Cybrosys Techno Solutions', 'company': 'Cybrosys Techno Solutions', diff --git a/website_coupon/controllers/__init__.py b/website_coupon/controllers/__init__.py index bbd183e95..bc20061c2 100644 --- a/website_coupon/controllers/__init__.py +++ b/website_coupon/controllers/__init__.py @@ -1,3 +1,3 @@ # -*- coding: utf-8 -*- -import main +import main # noqa diff --git a/website_coupon/controllers/main.py b/website_coupon/controllers/main.py index 133d2e4d8..abcbc7e2b 100644 --- a/website_coupon/controllers/main.py +++ b/website_coupon/controllers/main.py @@ -19,10 +19,10 @@ class WebsiteCoupon(http.Controller): if order: from_currency = order.company_id.currency_id to_currency = order.pricelist_id.currency_id - compute_currency = lambda price: from_currency.compute(price, - to_currency) + compute_currency = lambda price: from_currency.compute( # noqa + price, to_currency) else: - compute_currency = lambda price: price + compute_currency = lambda price: price # noqa values = { 'website_sale_order': order, diff --git a/website_coupon/models/__init__.py b/website_coupon/models/__init__.py index d91b1374f..ed2d4d72d 100644 --- a/website_coupon/models/__init__.py +++ b/website_coupon/models/__init__.py @@ -2,7 +2,7 @@ ############################################################################## # # Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Copyright (C) 2017-TODAY Cybrosys Technologies() # Author: LINTO C T() # you can modify it under the terms of the GNU LESSER # GENERAL PUBLIC LICENSE (LGPL v3), Version 3. @@ -20,4 +20,5 @@ # If not, see . # ############################################################################## -import gift_voucher + +import gift_voucher # noqa diff --git a/website_coupon/models/gift_voucher.py b/website_coupon/models/gift_voucher.py index b3cd1b0e5..9e5362232 100644 --- a/website_coupon/models/gift_voucher.py +++ b/website_coupon/models/gift_voucher.py @@ -2,7 +2,7 @@ ############################################################################## # # Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2017-TODAY Cybrosys Technologies(). +# Copyright (C) 2017-TODAY Cybrosys Technologies() # Author: LINTO C T() # you can modify it under the terms of the GNU LESSER # GENERAL PUBLIC LICENSE (LGPL v3), Version 3.