Skip to content

Commit fecfe24

Browse files
committed
🔧 add pylint job to tests, assert that all types are defined
1 parent a7aee60 commit fecfe24

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/python-test-publish.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,18 @@ jobs:
3939
python -m pip install --upgrade pip
4040
pip install \
4141
isort~=5.12.0 \
42-
black~=23.9.1
42+
black~=23.9.1 \
43+
pylint~=3.0.2
4344
- name: Check import style with isort
4445
run: |
4546
isort . --check --profile black --diff
4647
- name: Check code style with Black
4748
run: |
4849
black . --check --diff
50+
- name: Check for undefined types with Pylint
51+
run: |
52+
set -e
53+
pylint --disable=all --enable=E0602 $(find . -type f -name "*.py")
4954
5055
deploy:
5156
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)