Fix python style check: update python version to 3.11 (#11601)

* Update python version to 3.11
This commit is contained in:
Shaojun Liu 2024-07-17 15:39:46 +08:00 committed by GitHub
parent 9c15abf825
commit 2b17536424
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
python-version: [3.11]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
@ -44,10 +44,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install pycodestyle
pip install pydocstyle
pip install mypy==0.982
pip install wheel
run: |
pip install pycodestyle pydocstyle mypy==0.982 wheel
- name: LLM style checking
run: bash python/llm/dev/test/lint-python