mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 09:54:47 +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:
@@ -19,7 +19,6 @@
|
||||
# default settings that can be made for a user.
|
||||
from __future__ import unicode_literals
|
||||
|
||||
|
||||
product_name = "ERPNext"
|
||||
user_defaults = {
|
||||
"Company": "company",
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import frappe
|
||||
from frappe.utils import cint
|
||||
|
||||
|
||||
def boot_session(bootinfo):
|
||||
"""boot session - send website info if guest"""
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
import frappe
|
||||
|
||||
|
||||
def get_filters_config():
|
||||
filters_config = {
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
|
||||
from __future__ import unicode_literals, print_function
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import frappe
|
||||
from frappe.utils import cint
|
||||
|
||||
|
||||
def get_leaderboards():
|
||||
leaderboards = {
|
||||
"Customer": {
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import frappe
|
||||
|
||||
|
||||
def get_notification_config():
|
||||
notifications = { "for_doctype":
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user