Merge pull request #56 from promplate/dependabot/npm_and_yarn/unocss/… #330
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 examples checks | |
on: [push, pull_request] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
pip install promplate[all] promplate-pyodide isort black pyodide-py | |
yarn global add pyright | |
- name: Run isort check | |
run: | | |
isort . --check --diff | |
- name: Run black check | |
run: | | |
black . --check --diff | |
- name: Run pyright check | |
run: | | |
pyright |