langflow/.github/workflows/lint.yml
Gabriel Luiz Freitas Almeida b9ad74cf4e
Update dependencies and refactor import statements (#1435)
This pull request updates the python-multipart version, updates the
dependencies in pyproject.toml, adds Python 3.11 support to lint and
test workflows, and refactors import statements in Qdrant.py.
2024-02-15 18:33:08 -03:00

35 lines
724 B
YAML

name: lint
on:
push:
branches: [main]
pull_request:
env:
POETRY_VERSION: "1.7.0"
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: |
pipx install poetry==$POETRY_VERSION
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: poetry
- name: Install dependencies
run: |
poetry install
- name: Analysing the code with our lint
run: |
make lint