mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-26 12:04:39 +00:00
workflow(pylint): fix pylint workflow
This commit is contained in:
18
.github/workflows/pylint.yml
vendored
18
.github/workflows/pylint.yml
vendored
@@ -14,18 +14,16 @@ concurrency:
|
||||
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 uv
|
||||
run: curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
- name: Install dependencies and setup environment
|
||||
run: make setup
|
||||
run: |
|
||||
uv -V
|
||||
make setup
|
||||
- name: Check Python code style
|
||||
run: make fmt-check
|
||||
- name: Check Python code type
|
||||
run: make mypy
|
||||
# TODO: Add mypy check
|
||||
# - name: Check Python code type
|
||||
# run: make mypy
|
||||
|
Reference in New Issue
Block a user