Skip to content

Commit

Permalink
ci: add pylint (UNICT-DMI#238)
Browse files Browse the repository at this point in the history
* ci: add pylint

* chore: add pylint in requirements_dev.txt

* fix: pylint warnings
  • Loading branch information
Helias authored Nov 3, 2022
1 parent 6e6a222 commit 6400b0c
Show file tree
Hide file tree
Showing 26 changed files with 732 additions and 90 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/telegram-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Lint with pylint
run: |
pylint main.py setup.py module
- name: Unit test
run: pytest tests/unit/
# - name: End-to-end test
Expand Down
Loading

0 comments on commit 6400b0c

Please sign in to comment.