From ea6ae99ba243564ee9d783d02391892782b5cad2 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 10 Apr 2018 14:51:56 -0700 Subject: [PATCH 1/4] fix #1365 --- requirements.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/requirements.txt b/requirements.txt index 439a8d6999b7..c1e56b0a7a18 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ +# Use only v2.3.1 of pycodestyle, as 2.4.0 will break flake8 +pycodestyle==2.3.1 autopep8 yapf pylint From d165c704c66a4da5484e189be88a1908a14ef871 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 10 Apr 2018 14:53:14 -0700 Subject: [PATCH 2/4] update message --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c1e56b0a7a18..1e3c16b37d46 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -# Use only v2.3.1 of pycodestyle, as 2.4.0 will break flake8 +# Use v2.3.1 of pycodestyle, as >= 2.4.0 will break flake8 pycodestyle==2.3.1 autopep8 yapf From d8c4ebf04d3c104800cc0ce0ae24502c36e482d2 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 10 Apr 2018 15:09:33 -0700 Subject: [PATCH 3/4] install flake8 first --- requirements.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 1e3c16b37d46..64185c334878 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1,11 @@ -# Use v2.3.1 of pycodestyle, as >= 2.4.0 will break flake8 -pycodestyle==2.3.1 +# Install flake8 first, as both flake8 and autopep8 require pycodestyle +# However flake8 doesn't always work with the latest version of pycodestyle +flake8 autopep8 yapf pylint pep8 prospector -flake8 pydocstyle nose pytest From 77c410cc3084cbd2095b25ea7dc69d29adf82681 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Tue, 10 Apr 2018 15:11:21 -0700 Subject: [PATCH 4/4] Tweak comment --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 64185c334878..40d8dae202cb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -# Install flake8 first, as both flake8 and autopep8 require pycodestyle -# However flake8 doesn't always work with the latest version of pycodestyle +# Install flake8 first, as both flake8 and autopep8 require pycodestyle, +# but flake8 has a tighter pinning. flake8 autopep8 yapf