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

@@ -44,7 +44,6 @@ ignore =
E303,
E305,
E306,
E401,
E402,
E501,
E502,
@@ -52,7 +51,6 @@ ignore =
E702,
E703,
E741,
F401,
F403,
W191,
W291,

View File

@@ -1,5 +1,5 @@
import frappe
from frappe import _, flt
from frappe import _
from frappe.model.document import Document

View File

@@ -24,4 +24,4 @@ jobs:
python-version: 3.8
- name: Install and Run Pre-commit
uses: pre-commit/action@v2.0.0
uses: pre-commit/action@v2.0.3