Updates to PyTorch 2.7 #1118
Workflow file for this run
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: Style check | |
| permissions: {} | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| jobs: | |
| style-check: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Set up Python version | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install -U clang-format==10.0.1.1 yapf==0.30.0 nbformat pydocstyle==6.0.0 | |
| - name: Run style check | |
| run: | | |
| python ci/check_style.py --verbose | |
| - name: Run docstring style check | |
| run: | | |
| pydocstyle --convention=google --add-ignore=D1,D205,D415,D212 . |