Skip to content

Commit ff3c7c2

Browse files
committed
Upgrade pylint and astroid to avoide false positive E1111
See pylint-dev/pylint#2694 for details. http://ci.mxnet.io/blue/organizations/jenkins/GluonNLP-py3-master-gpu-integration/detail/PR-836/1/ for an example how the bug affects us.
1 parent dc7783b commit ff3c7c2

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

env/cpu/py3-master.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies:
44
- python=3.6
55
- pip=18.1
66
- perl
7-
- pylint=1.9.2
7+
- pylint=2.3.1
88
- flake8
99
- sphinx=1.7.7
1010
- spacy
@@ -16,7 +16,7 @@ dependencies:
1616
- pytest-xdist<2
1717
- regex
1818
- pip:
19-
- pylint-quotes<0.2
19+
- pylint-quotes==0.2.1
2020
- mxnet-mkl>=1.5.0b20190407
2121
- sacremoses
2222
- sentencepiece<0.2

env/cpu/py3.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies:
44
- python=3.6
55
- pip=18.1
66
- perl
7-
- pylint=1.9.2
7+
- pylint=2.3.1
88
- flake8
99
- sphinx=1.7.7
1010
- spacy
@@ -26,7 +26,7 @@ dependencies:
2626
- ipykernel
2727
- regex
2828
- pip:
29-
- pylint-quotes<0.2
29+
- pylint-quotes==0.2.1
3030
- mxnet-mkl>=1.4.1
3131
- sacremoses
3232
- sentencepiece<0.2

env/gpu/py3-master.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies:
44
- python=3.6
55
- pip=18.1
66
- perl
7-
- pylint=1.9.2
7+
- pylint=2.3.1
88
- flake8
99
- sphinx=1.7.7
1010
- spacy

env/gpu/py3.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ dependencies:
44
- python=3.6
55
- pip=18.1
66
- perl
7-
- pylint=1.9.2
7+
- pylint=2.3.1
88
- flake8
99
- sphinx=1.7.7
1010
- spacy
@@ -26,7 +26,7 @@ dependencies:
2626
- ipykernel
2727
- regex
2828
- pip:
29-
- pylint-quotes<0.2
29+
- pylint-quotes==0.2.1
3030
- mxnet-cu92mkl>=1.4.1
3131
- sacremoses
3232
- sentencepiece<0.2

0 commit comments

Comments
 (0)