File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,10 @@ jobs:
2828 - name : Install pip
2929 run : python -m pip install --upgrade pip
3030
31- - name : Install known good Ruff
32- run : python -m pip install ruff==0.1.9
33- - name : Lint with known good Ruff
34- run : ruff . --output-format github
31+ - name : Install Ruff
32+ run : python -m pip install "ruff==0.1.9"
3533
36- - name : Install latest Ruff
37- run : python -m pip install --upgrade ruff
38- - name : Lint with latest Ruff
39- continue-on-error : true
34+ - name : Lint with Ruff
4035 run : ruff . --output-format github
4136
4237 flake8 :
8378 - name : Install dependencies
8479 run : |
8580 python -m pip install --upgrade pip
86- python -m pip install --upgrade "mypy>=0.990 " docutils-stubs types-requests
81+ python -m pip install --upgrade "mypy==1.8.0 " docutils-stubs types-requests
8782 - name : Type check with mypy
8883 run : mypy sphinx/
8984
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ lint = [
8383 " flake8>=3.5.0" ,
8484 " flake8-simplify" ,
8585 " isort" ,
86- " ruff" ,
87- " mypy>=0.990 " ,
86+ " ruff==0.1.9 " ,
87+ " mypy==1.8.0 " ,
8888 " sphinx-lint" ,
8989 " docutils-stubs" ,
9090 " types-requests" ,
You can’t perform that action at this time.
0 commit comments