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