[TF-3446] add infinite scroll example #107
Workflow file for this run
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: Pre-commit checks | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
pre-commit: | |
name: Pre-commit checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
#---------------------------------------------- | |
# ----- install & configure poetry ----- | |
#---------------------------------------------- | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.8.3 | |
virtualenvs-create: false | |
virtualenvs-in-project: true | |
installer-parallel: true | |
#---------------------------------------------- | |
# ----- install dependencies ----- | |
#---------------------------------------------- | |
- name: Install dependencies | |
run: | | |
poetry install --no-interaction --no-root --with dev | |
- name: Lint check | |
run: pylint --disable=R,C application_examples examples | |
- name: Code style check | |
run: black . --check | |
- name: Imports sort check | |
uses: isort/isort-action@master | |
- name: Static check | |
uses: jakebailey/pyright-action@v2 | |
continue-on-error: true | |
with: | |
pylance-version: latest-release |