mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
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:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user