Skip to content

Commit

Permalink
add linter (pylint) to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eblot committed Apr 6, 2024
1 parent 8f19371 commit 1a65ef7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/pythonchecksyntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: Check style
run: |
python setup.py check_style
- name: Linter
run: |
pylint --disable=fixme --disable=duplicate-code \
pyftdi pyftdi/bin pyftdi/serialext \
pyftdi/tests pyftdi/serialext/tests pyftdi/tests/backend
- name: Install package
run: |
python setup.py install
Expand Down
3 changes: 2 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ruamel.yaml >= 0.16
setuptools
wheel
pylint
ruamel.yaml >= 0.16

0 comments on commit 1a65ef7

Please sign in to comment.