Skip to content

Commit

Permalink
github: force python 3.8 for pylint
Browse files Browse the repository at this point in the history
Pylint does not support python 3.9 properly:

  Value 'Optional' is unsubscriptable (unsubscriptable-object)

This is a known issue. Until it is fixed run the lint checks with python
3.8.

Link: pylint-dev/pylint#3882
Signed-off-by: Robin Jarry <robin.jarry@6wind.com>
  • Loading branch information
rjarry committed Oct 16, 2020
1 parent 2b1045d commit 4e0c421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
python-version: 3.8
- uses: actions/cache@v2
with:
path: ~/.cache/pip
Expand Down

0 comments on commit 4e0c421

Please sign in to comment.