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:
Chillar Anand
2021-09-02 16:44:59 +05:30
committed by GitHub
parent b25d28e023
commit 915b34391c
2060 changed files with 7707 additions and 3083 deletions

View File

@@ -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",

View File

@@ -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"""

View File

@@ -1,5 +1,5 @@
import frappe
def get_filters_config():
filters_config = {

View File

@@ -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": {

View File

@@ -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":
{