Skip to content

Commit e7edd09

Browse files
committed
CI: enforce Pylint
1 parent f15dc4d commit e7edd09

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,11 @@ jobs:
131131
- run: uname -rms
132132
- run: python3 --version
133133
- run: sudo apt-get update
134-
- run: sudo apt-get install --no-install-recommends -y black python3-isort
134+
- run: sudo apt-get install --no-install-recommends -y black python3-isort python3-pytest
135135
- run: echo "cloning ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
136136
- run: git clone --no-checkout -- ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} wd
137137
- run: cd wd && git fetch -- origin ${{ github.event.pull_request.head.sha }} && git checkout FETCH_HEAD
138138
- run: cd wd && git ls-files -z '**/*.py' | xargs -0 -- python3 -m black --check --
139139
- run: cd wd && git ls-files -z '**/*.py' | xargs -0 -- python3 -m isort --profile=black --check --
140+
- run: python3 -m pip install --user pylint
141+
- run: cd wd && git ls-files -z '**/*.py' | xargs -0 -- python3 -m pylint --

0 commit comments

Comments
 (0)