Enabling pylint for DiscordBot (#979)

* Enabling markdown linting for DiscordBot

* Clearning remaining linters

* Enabling pylint for DiscordBot

* Fix DiscordBot imports, pylint and mypy

* Flake8 fixes

* Add an exception for too-many-branches
This commit is contained in:
Artem Veremey
2021-11-24 17:15:42 -08:00
committed by GitHub
parent e8329bba72
commit 1e8daa1f9a
76 changed files with 578 additions and 513 deletions

View File

@@ -36,7 +36,7 @@ jobs:
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py
- run: safety check
- run: |
pylint terminal.py gamestonk_terminal tests
pylint terminal.py gamestonk_terminal discordbot tests
test:
name: Base Tests - Ubuntu-latest - Python 3.9
needs: linting
@@ -250,7 +250,7 @@ jobs:
shell: bash -l {0}
run: |
pip install pylint==2.11.1
pylint terminal.py gamestonk_terminal tests
pylint terminal.py gamestonk_terminal discordbot tests
- name: Run tests (Bash)
shell: bash -l {0}