chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.9.9 #171
This file contains hidden or 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: Linting Python custom files | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install Poetry | |
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1.4.1 | |
- name: Install dependencies | |
run: | | |
touch README-PYPI.md | |
poetry install --all-extras | |
# The init, sdkhooks.py and types.py files in the _hooks folders are generated by Speakeasy hence the exclusion | |
- name: Run all linters | |
run: scripts/lint_custom_code.sh |