[PR #25108] chore: enhance basedpyright-check script to support path arguments #30935

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

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

State: closed
Merged: Yes


Summary

  • Add support for passing specific file or directory paths to the basedpyright-check script
  • Maintain backward compatibility when no arguments are provided
  • Enable developers to run targeted type checks for improved workflow efficiency

This enhancement allows developers to check specific files or directories by running:

./dev/basedpyright-check path/to/file.py

While preserving the existing behavior when no arguments are passed:

./dev/basedpyright-check  # checks entire codebase

Fixes #25107

**Original Pull Request:** https://github.com/langgenius/dify/pull/25108 **State:** closed **Merged:** Yes --- ## Summary - Add support for passing specific file or directory paths to the basedpyright-check script - Maintain backward compatibility when no arguments are provided - Enable developers to run targeted type checks for improved workflow efficiency This enhancement allows developers to check specific files or directories by running: ```bash ./dev/basedpyright-check path/to/file.py ``` While preserving the existing behavior when no arguments are passed: ```bash ./dev/basedpyright-check # checks entire codebase ``` Fixes #25107
yindo added the pull-request label 2026-02-21 20:48:30 -05:00
yindo closed this issue 2026-02-21 20:48:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30935