mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-09 16:12:53 +00:00
chore: Clean up imports (#27302)
* chore: Added isort to pre-commit config * chore: Sort imports with isort * chore: Clean up imports with pycln * chore: Sort imports with isort * chore: Fix import issues * chore: Clean up sider issues * chore: Remove import errors from flake8 ignore list * chore: Clean up lint issues
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import frappe, os, json
|
||||
import frappe
|
||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_fields
|
||||
from frappe.permissions import add_permission, update_permission_property
|
||||
from erpnext.payroll.doctype.gratuity_rule.gratuity_rule import get_gratuity_rule
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import frappe
|
||||
from frappe import _
|
||||
import erpnext
|
||||
from frappe.utils import flt, round_based_on_smallest_currency_fraction, money_in_words
|
||||
from erpnext.controllers.taxes_and_totals import get_itemised_tax
|
||||
from frappe.utils import flt, money_in_words, round_based_on_smallest_currency_fraction
|
||||
from six import iteritems
|
||||
|
||||
import erpnext
|
||||
from erpnext.controllers.taxes_and_totals import get_itemised_tax
|
||||
|
||||
|
||||
def update_itemised_tax_data(doc):
|
||||
if not doc.taxes: return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user