File tree Expand file tree Collapse file tree 3 files changed +14
-30
lines changed
Expand file tree Collapse file tree 3 files changed +14
-30
lines changed Original file line number Diff line number Diff line change 77 workflow_dispatch :
88
99jobs :
10- pre-commit :
10+ lint :
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v3
141415- - run : python -m pip install -U .[dev]
16- -
uses :
pre-commit/[email protected] 15+ - run : python -m pip install -U .[lint]
16+ - name : black
17+ run : |
18+ black --check src tests
19+ - name : flake8
20+ run : |
21+ flake8 src tests
22+ - name : mypy
23+ run : |
24+ mypy src
Original file line number Diff line number Diff line change 3838 - name : Install dependencies
3939 run : |
4040 python -m pip install --upgrade pip
41- python -m pip install -U .[dev ]
41+ python -m pip install -U .[test ]
4242
4343 - name : Test with pytest
4444 run : |
9191 - name : Install dependencies
9292 run : |
9393 python -m pip install --upgrade pip
94- python -m pip install -U .[dev ]
94+ python -m pip install -U .[test ]
9595
9696 - name : Get short-lived Dropbox token
9797 # We generate a short-lived auth token which is passed to the test runner as
@@ -164,7 +164,7 @@ jobs:
164164 - name : Install dependencies
165165 run : |
166166 python -m pip install --upgrade pip
167- python -m pip install -U .[dev ]
167+ python -m pip install -U .[test ]
168168
169169 - name : Get short-lived Dropbox token
170170 # We generate a short-lived auth token which is passed to the test runner as
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments