Files
DB-GPT/.github/workflows/pylint.yml
yyhhyy f2a6284c0e fix: Fix the mypy check error (#1373)
Co-authored-by: yyhhyy <95077259+Hui824@users.noreply.github.com>
Co-authored-by: aries_ckt <916701291@qq.com>
Co-authored-by: Fangyin Cheng <staneyffer@gmail.com>
2024-04-07 14:22:23 +08:00

32 lines
709 B
YAML

name: Pylint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
concurrency:
group: ${{ github.event.number || github.run_id }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies and setup environment
run: make setup
- name: Check Python code style
run: make fmt-check
- name: Check Python code type
run: make mypy