File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,12 @@ jobs:
3434 sudo apt install libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xfixes0 x11-utils
3535 /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1920x1200x24 -ac +extension GLX
3636 python -m pip install --upgrade pip
37- python -m pip install flake8 pytest
37+ python -m pip install ruff pytest
3838 pip install PyQt5 setuptools numpy Cython
3939 python setup.py build_ext --inplace
4040 pip install .[test]
41- - name : Lint with flake8
42- run : |
43- # stop the build if there are Python syntax errors or undefined names
44- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
45- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
46- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
41+ - name : Lint with Ruff
42+ run : ruff check --output-format=github plotpy
4743 - name : Test with pytest
4844 run : |
4945 pytest
You can’t perform that action at this time.
0 commit comments