chore: Adding a PyTorch extra for natively supporting PyTorch Tensors serialization online and offline #12840
This file contains 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: linter | |
on: [push, pull_request] | |
jobs: | |
lint-python: | |
runs-on: [ubuntu-latest] | |
env: | |
PYTHON: 3.11 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
architecture: x64 | |
- name: Install uv | |
run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
- name: Install dependencies | |
run: | | |
make install-python-dependencies-ci | |
- name: Lint python | |
run: make lint-python |