mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
chore: Cleanup imports (#27320)
* chore: Added isort to pre-commit config * chore: Sort imports with isort * chore: Remove imports with pycln * chore: Sort imports with isort * chore: Fix import issues * chore: Fix sider issues * chore: linting * chore: linting / sorting import from ecommerce refactor merge * ci: dont allow unused imports * chore: sort / clean ecommerce imports Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
## temp utility
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import frappe
|
||||
from erpnext.utilities.activation import get_level
|
||||
from frappe.utils import cstr
|
||||
|
||||
from erpnext.utilities.activation import get_level
|
||||
|
||||
|
||||
def update_doctypes():
|
||||
for d in frappe.db.sql("""select df.parent, df.fieldname
|
||||
from tabDocField df, tabDocType dt where df.fieldname
|
||||
|
||||
Reference in New Issue
Block a user