From 4f478b717565d0621c7ef86378f2001ec86de6de Mon Sep 17 00:00:00 2001 From: looooo Date: Sat, 2 Dec 2023 19:39:43 +0100 Subject: [PATCH 1/2] use ruff --- .github/workflows/test-env-action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-env-action.yml b/.github/workflows/test-env-action.yml index e36f327..77858fb 100644 --- a/.github/workflows/test-env-action.yml +++ b/.github/workflows/test-env-action.yml @@ -29,12 +29,12 @@ jobs: conda install conda-build - if: matrix.os == 'ubuntu-latest' - name: Lint with flake8 + name: Lint with ruff run: | - conda install flake8 + conda install ruff sudo apt-get install freeglut3 freeglut3-dev sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib64 - ${CONDA}/bin/flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,scons,SoPyScript + ${CONDA}/bin/ruff . --count --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,scons,SoPyScript - name: create package with conda run: | From 88a57fb3907f178f5902fdf10ce20b9538ed1706 Mon Sep 17 00:00:00 2001 From: lorenz Date: Sat, 2 Dec 2023 19:45:02 +0100 Subject: [PATCH 2/2] Update test-env-action.yml --- .github/workflows/test-env-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-env-action.yml b/.github/workflows/test-env-action.yml index 77858fb..40a292e 100644 --- a/.github/workflows/test-env-action.yml +++ b/.github/workflows/test-env-action.yml @@ -31,7 +31,7 @@ jobs: - if: matrix.os == 'ubuntu-latest' name: Lint with ruff run: | - conda install ruff + conda install ruff -c conda-forge sudo apt-get install freeglut3 freeglut3-dev sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib64 ${CONDA}/bin/ruff . --count --select=E901,E999,F821,F822,F823 --show-source --statistics --exclude=.svn,CVS,.bzr,.hg,.git,__pycache__,.tox,.eggs,*.egg,scons,SoPyScript