|
10 | 10 | # ------------------ |
11 | 11 | # 1. Smart file change detection to skip unnecessary jobs |
12 | 12 | # 2. Parallel execution for different linting categories |
13 | | -# 3. Comprehensive Python static analysis with Pyright |
| 13 | +# 3. Comprehensive Python static analysis with basedpyright |
14 | 14 | # 4. Infrastructure validation (Docker, GitHub Actions, Shell) |
15 | 15 | # 5. Markdown linting for documentation quality |
16 | 16 | # 6. Efficient caching to reduce execution time |
@@ -62,15 +62,15 @@ jobs: |
62 | 62 | # PYTHON QUALITY CHECKS - Static Analysis and Type Checking |
63 | 63 | # ============================================================================ |
64 | 64 | # Purpose: Ensures Python code quality through static analysis and type checking |
65 | | - # Tools: Pyright type checker with Poetry dependency management |
| 65 | + # Tools: Basedpyright type checker with Poetry dependency management |
66 | 66 | # Optimization: Only runs when Python files or dependencies change |
67 | 67 | # ============================================================================ |
68 | 68 | python: |
69 | 69 | name: Python Type Checking |
70 | 70 | runs-on: ubuntu-latest |
71 | 71 | permissions: |
72 | 72 | contents: read # Required for checkout |
73 | | - pull-requests: write # Required for Pyright annotations |
| 73 | + pull-requests: write # Required for basedpyright annotations |
74 | 74 | steps: |
75 | 75 | # REPOSITORY CHECKOUT |
76 | 76 | # Full history needed for accurate change detection |
@@ -115,14 +115,10 @@ jobs: |
115 | 115 | generate-prisma: 'true' |
116 | 116 |
|
117 | 117 | # STATIC TYPE CHECKING |
118 | | - # Pyright provides comprehensive type checking for Python |
| 118 | + # basedpyright provides comprehensive type checking for Python |
119 | 119 | # Annotations appear directly in PR for developer feedback |
120 | | - - name: Run Pyright type checker |
121 | | - if: steps.python_changes.outputs.any_changed == 'true' || github.event_name |
122 | | - == 'workflow_dispatch' |
123 | | - uses: jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2 |
124 | | - with: |
125 | | - annotate: errors |
| 120 | + - name: Run basedpyright type checker |
| 121 | + run: basedpyright |
126 | 122 |
|
127 | 123 | # ============================================================================ |
128 | 124 | # MARKDOWN DOCUMENTATION LINTING |
|
0 commit comments