pyproject.toml update for CPU version of torch #279
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: Python linter | |
on: | |
- push | |
- pull_request | |
jobs: | |
pylint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Python version | |
run: python --version | |
- name: PDM installation | |
run: pip install --user pdm | |
- name: Install dependencies | |
run: pdm install | |
- name: Install devel dependencies | |
run: pdm install --dev | |
- name: Python linter | |
run: pdm run pylint ols/ scripts/ tests/ runner.py |