Skip to content

Commit

Permalink
🔧 add pylint job to tests, assert that all types are defined
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 committed Nov 10, 2023
1 parent a7aee60 commit fecfe24
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/python-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,18 @@ jobs:
python -m pip install --upgrade pip
pip install \
isort~=5.12.0 \
black~=23.9.1
black~=23.9.1 \
pylint~=3.0.2
- name: Check import style with isort
run: |
isort . --check --profile black --diff
- name: Check code style with Black
run: |
black . --check --diff
- name: Check for undefined types with Pylint
run: |
set -e
pylint --disable=all --enable=E0602 $(find . -type f -name "*.py")
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit fecfe24

Please sign in to comment.