CI and precommit hooks: switch to flake8==5.0.4

This commit is contained in:
Adriane Boyd 2022-12-09 13:53:58 +01:00
parent 9c794644ab
commit 4297340d8c
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ repos:
language_version: python3.7
additional_dependencies: ['click==8.0.4']
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
rev: 5.0.4
hooks:
- id: flake8
args:

View File

@ -31,7 +31,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"