Skip to content

Commit 338cafc

Browse files
scripts: requirements: update pylint fixed version
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 <[email protected]>
1 parent f428958 commit 338cafc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/requirements-fixed.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ alabaster==0.7.12
77
anytree==2.8.0
88
appdirs==1.4.4
99
arrow==0.17.0
10-
astroid==2.4.2
10+
astroid==2.15.0
1111
attrs==20.3.0
1212
Babel==2.9.1
1313
breathe==4.26.1
@@ -19,7 +19,7 @@ cffi==1.14.4
1919
chardet==4.0.0
2020
click==7.1.2
2121
cmsis-pack-manager==0.2.10
22-
colorama==0.4.4
22+
colorama==0.4.6
2323
commonmark==0.9.1
2424
coverage==5.4
2525
cryptography==3.4.8
@@ -64,7 +64,7 @@ pygit2==1.10.0
6464
Pygments==2.7.4
6565
pykwalify==1.8.0
6666
pylink-square==0.8.1
67-
pylint==2.6.0
67+
pylint==2.16.4
6868
pyocd==0.29.0
6969
pyparsing==2.4.7
7070
pyserial==3.5
@@ -99,7 +99,7 @@ tabulate==0.8.7
9999
toml==0.10.2
100100
tomli==2.0.1
101101
typed-ast==1.5.4
102-
typing-extensions==3.7.4.3
102+
typing-extensions==4.4.0
103103
urllib3==1.26.4
104104
wcwidth==0.2.5
105105
west==1.0.0

0 commit comments

Comments
 (0)