[PR #2335] automate isort styling by adding to pre-commit hooks #23577

Closed
opened 2026-02-21 20:21:21 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/2335

State: closed
Merged: No


  • as #1983 introduced isort and one-key linting scripts for linting Python imports, it helps to conform a steady output in sorted imports within a unified style.
  • this PR add the isort script into Husky for git's pre-commit hooks, which is to be executed automatically before each commit
  • This will greatly help the developer out of the dirty work when rebasing onto the new release and branches without worrying the conflict in Python imports.
**Original Pull Request:** https://github.com/langgenius/dify/pull/2335 **State:** closed **Merged:** No --- - as #1983 introduced isort and one-key linting scripts for linting Python imports, it helps to conform a steady output in sorted imports within a unified style. - this PR add the isort script into Husky for git's pre-commit hooks, which is to be executed automatically before each commit - This will greatly help the developer out of the dirty work when rebasing onto the new release and branches without worrying the conflict in Python imports.
yindo added the pull-request label 2026-02-21 20:21:21 -05:00
yindo closed this issue 2026-02-21 20:21:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#23577