From 6e2f0762f35072d33aba918c66da4e0f061fd957 Mon Sep 17 00:00:00 2001 From: Dima Ryazanov Date: Tue, 6 Feb 2024 15:38:18 -0800 Subject: [PATCH] Merge pylint/pycodestyle and isort No reason why pylint/pycodestyle should be one job, but isort should be separate. --- .github/workflows/py-ci.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/py-ci.yml b/.github/workflows/py-ci.yml index cf897ebb078..62243b2b907 100644 --- a/.github/workflows/py-ci.yml +++ b/.github/workflows/py-ci.yml @@ -10,25 +10,13 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools - python -m pip install 'pylint==2.10.2' 'pycodestyle>=2.6.1' + python -m pip install 'pylint==2.10.2' 'pycodestyle>=2.6.1' isort - name: Run pylint run: | pylint $(find -name '*.py') - name: Run pycodestyle run: | pycodestyle $(find -name '*.py') - - isort: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.7' - - name: Install dependencies - run: | - python -m pip install --upgrade pip setuptools - python -m pip install isort - name: Run isort run: | isort --check --diff .