Fix python style check: update python version to 3.11 (#11601)
* Update python version to 3.11
This commit is contained in:
parent
9c15abf825
commit
2b17536424
1 changed files with 3 additions and 5 deletions
8
.github/workflows/python-style-check.yml
vendored
8
.github/workflows/python-style-check.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue