Skip to content

Suppress scalar teensor warning #640

Suppress scalar teensor warning

Suppress scalar teensor warning #640

Workflow file for this run

name: lint
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8.16
uses: actions/setup-python@v4
with:
python-version: 3.8.16
- name: Upgrade pip
run: python -m pip install pip --upgrade --user
- name: Install pre-commit hooks
run: |
pip install pre-commit==2.20.0
pre-commit install
- name: Lint
run: pre-commit run --all-files --show-diff-on-failure