chore: 🐝 Update SDK - Generate MISTRALAI MISTRALAI-SDK 1.5.0 #5
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: 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 ruff | |
run: pip install ruff | |
- name: Lint with ruff | |
# No need to lint the automatically generated Speakeasy code | |
run: | | |
ruff check examples/ | |
ruff check src/mistralai/_hooks/ --exclude __init__.py --exclude sdkhooks.py --exclude types.py | |
ruff check src/mistralai/extra/ |