Skip to content

Commit

Permalink
scripts: requirements: update pylint fixed version
Browse files Browse the repository at this point in the history
The current version of pylint is 2 years old at this point,
and it's got a bug (pylint-dev/pylint#3882)
which is leading to false positives on ncs_west_helpers.py:

 E1136:Value 'Union' is unsubscriptable (unsubscriptable-object)
File:scripts/west_commands/ncs_west_helpers.py
Line:78
Column:36
 E1136:Value 'Union' is unsubscriptable (unsubscriptable-object)
File:scripts/west_commands/ncs_west_helpers.py
Line:326
Column:18
 E1136:Value 'Union' is unsubscriptable (unsubscriptable-object)
File:scripts/west_commands/ncs_west_helpers.py
Line:78
Column:36
 E1136:Value 'Union' is unsubscriptable (unsubscriptable-object)
File:scripts/west_commands/ncs_west_helpers.py
Line:326
Column:18
 E1136:Value 'Optional' is unsubscriptable (unsubscriptable-object)
File:scripts/west_commands/pygit2_helpers.py
Line:188
Column:46
 E1136:Value 'Optional' is unsubscriptable (unsubscriptable-object)
File:scripts/west_commands/ncs_commands.py
Line:44
Column:38

Update it to the latest version. We have to update astroid,
typing-extensions, and colorama as well as a side effect.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
  • Loading branch information
mbolivar-nordic committed Mar 7, 2023
1 parent 5681497 commit f162cd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/requirements-fixed.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ alabaster==0.7.12
anytree==2.8.0
appdirs==1.4.4
arrow==0.17.0
astroid==2.4.2
astroid==2.15.0
attrs==20.3.0
Babel==2.9.1
breathe==4.26.1
Expand All @@ -19,7 +19,7 @@ cffi==1.14.4
chardet==4.0.0
click==7.1.2
cmsis-pack-manager==0.2.10
colorama==0.4.4
colorama==0.4.6
commonmark==0.9.1
coverage==5.4
cryptography==3.4.8
Expand Down Expand Up @@ -64,7 +64,7 @@ pygit2==1.10.0
Pygments==2.7.4
pykwalify==1.8.0
pylink-square==0.8.1
pylint==2.6.0
pylint==2.16.4
pyocd==0.29.0
pyparsing==2.4.7
pyserial==3.5
Expand Down Expand Up @@ -99,7 +99,7 @@ tabulate==0.8.7
toml==0.10.2
tomli==2.0.1
typed-ast==1.5.4
typing-extensions==3.7.4.3
typing-extensions==4.4.0
urllib3==1.26.4
wcwidth==0.2.5
west==1.0.0
Expand Down

0 comments on commit f162cd0

Please sign in to comment.