From 61698f955e69c48b425c2273ceb17865176e55ab Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Sun, 27 Oct 2019 20:00:20 +0800 Subject: [PATCH] Use new flake8 for Python 3.8 compatibility With the current flake8, which depends on pyflakes<1.7.0,>=1.5.0, linting fails with: AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT' The issue is fixed in pyflakes 2.1.0 [1]. Let's just use the latest flake8. [1] https://github.com/PyCQA/pyflakes/commit/7c74ab0ddccb60a9154c2af5aa4ee4581ccada4a --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 1dd8ef1f..c5fba292 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,7 +3,7 @@ mock nose sure==1.4.11 coverage -flake8==3.5.0 +flake8==3.7.8 freezegun flask boto>=2.45.0