diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f5a4b2ec1..78d7f11da 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,7 +28,7 @@ jobs: inputs: versionSpec: "3.7" - script: | - pip install flake8==3.9.2 + pip install flake8==5.0.4 python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics displayName: "flake8" diff --git a/requirements.txt b/requirements.txt index d3123d4b6..9f97af05b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27,6 +27,6 @@ cython>=0.25,<3.0 pytest>=5.2.0 pytest-timeout>=1.3.0,<2.0.0 mock>=2.0.0,<3.0.0 -flake8>=3.8.0,<3.10.0 +flake8>=3.8.0,<6.0.0 hypothesis>=3.27.0,<7.0.0 mypy==0.910