Skip to content

Commit

Permalink
fix: pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdeali099 committed Feb 13, 2024
1 parent 6d0b443 commit c469abd
Show file tree
Hide file tree
Showing 16 changed files with 2,839 additions and 2,950 deletions.
1 change: 0 additions & 1 deletion frappe/boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from frappe.desk.doctype.route_history.route_history import frequently_visited_links
from frappe.desk.form.load import get_meta_bundle
from frappe.email.inbox import get_email_accounts
# NOTE import for get_controller from Document
from frappe.model.base_document import get_controller
from frappe.permissions import has_permission
from frappe.query_builder import DocType
Expand Down
1 change: 0 additions & 1 deletion frappe/core/doctype/doctype/doctype.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
no_value_fields,
table_fields,
)
# NOTE import for get_controller from Document
from frappe.model.base_document import get_controller
from frappe.model.docfield import supports_translation
from frappe.model.document import Document
Expand Down
1 change: 0 additions & 1 deletion frappe/core/doctype/log_settings/log_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import frappe
from frappe import _
# NOTE import for get_controller from Document
from frappe.model.base_document import get_controller
from frappe.model.document import Document
from frappe.utils import cint
Expand Down
1 change: 0 additions & 1 deletion frappe/desk/reportview.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from frappe import _
from frappe.core.doctype.access_log.access_log import make_access_log
from frappe.model import child_table_fields, default_fields, get_permitted_fields, optional_fields
# NOTE import for get_controller from Document
from frappe.model.base_document import get_controller
from frappe.model.db_query import DatabaseQuery
from frappe.model.utils import is_virtual_doctype
Expand Down
2 changes: 1 addition & 1 deletion frappe/model/db_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def execute(
self.user_settings = json.loads(user_settings)

if is_virtual_doctype(self.doctype):
# NOTE import for get_controller from Document

from frappe.model.base_document import get_controller

controller = get_controller(self.doctype)
Expand Down
Loading

0 comments on commit c469abd

Please sign in to comment.