File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,12 @@ jobs:
2121 python-version : ${{ matrix.python-version }}
2222 - name : Install dependencies
2323 run : |
24- uv pip install -e .
25- uv pip install flake8 pytest
26- if [ -f requirements.txt ]; then uv pip install -r requirements.txt; fi
24+ uv sync --dev
2725 - name : Lint with flake8
2826 run : |
29- # stop the build if there are Python syntax errors or undefined names
30- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
27+ uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3128 # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
32- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
29+ uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3330 - name : Test with pytest
3431 run : |
35- pytest
32+ uv run pytest
You can’t perform that action at this time.
0 commit comments