strengthened style constraints

This commit is contained in:
jinzr 2024-03-04 14:29:19 +08:00
parent 2f102eb989
commit d5566b8c08
2 changed files with 8 additions and 1 deletions

View File

@ -49,7 +49,7 @@ jobs:
- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip black==22.3.0 flake8==5.0.4 click==8.1.0
python3 -m pip install --upgrade pip black==22.3.0 flake8==5.0.4 click==8.1.0 isort==5.10.1
# Click issue fixed in https://github.com/psf/black/pull/2966
- name: Run flake8
@ -67,3 +67,9 @@ jobs:
working-directory: ${{github.workspace}}
run: |
black --check --diff .
- name: Run isort
shell: bash
working-directory: ${{github.workspace}}
run: |
isort --check --diff .

View File

@ -9,5 +9,6 @@ tensorboard
typeguard
dill
black==22.3.0
isort==5.10.1
onnx==1.15.0
onnxruntime==1.16.3