add telemetry hook implementation guidelines #269
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: PR Python checks | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| env: | |
| WORKING_DIR: tools/repo_parser | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.14 | |
| - name: Install dependencies | |
| working-directory: ${{ env.WORKING_DIR }} | |
| run: pip install -r requirements.txt | |
| - name: Format | |
| working-directory: ${{ env.WORKING_DIR }} | |
| run: ruff format --check | |
| - name: Lint | |
| working-directory: ${{ env.WORKING_DIR }} | |
| run: ruff check | |
| - name: Typing | |
| working-directory: ${{ env.WORKING_DIR }} | |
| run: mypy | |
| - name: Unit tests | |
| working-directory: ${{ env.WORKING_DIR }} | |
| run: pytest |