-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Clean up imports #27302
chore: Clean up imports #27302
Conversation
78f6e7c
to
343f6a5
Compare
4d01b05
to
ff3125e
Compare
ff3125e
to
2788868
Compare
2788868
to
d05000d
Compare
e7a824d
to
54999fb
Compare
84f3dcd
to
4e5e8b7
Compare
9a76573
to
1b7d29b
Compare
@gavindsouza @surajshetty3416 we are going ahead with sorted imports using isort. The config that will be used is compatible with This will likely mess up the history for import lines but I guess it's a reasonable compromise. We can add the final commit in Config file: https://github.com/frappe/erpnext/blob/fe53fdb750a5d70e9e3698ec18b11dd8e88968e3/pyproject.toml |
* 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
Used isort/pycln to clean up the imports & added import checks to CI.