fix: Update doc (#4153) #6
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.9 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
architecture: x64 | |
- name: Upgrade pip version | |
run: | | |
pip install --upgrade "pip>=21.3.1,<23.2" | |
- name: Install uv | |
run: pip install uv | |
- name: Install dependencies | |
run: | | |
make install-python-ci-dependencies-uv | |
- name: Lint python | |
run: make lint-python |