Skip to content

Commit

Permalink
Merge pylint/pycodestyle and isort
Browse files Browse the repository at this point in the history
No reason why pylint/pycodestyle should be one job, but isort should be separate.
  • Loading branch information
dimaryaz committed Feb 6, 2024
1 parent b16865a commit 6e2f076
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/py-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 6e2f076

Please sign in to comment.