From f9a9c43a6fe5b88bc26d14d1b2969fc51ddf0284 Mon Sep 17 00:00:00 2001 From: xqt Date: Sun, 14 Jan 2024 16:51:37 +0100 Subject: [PATCH] [CI] Update requirements for flake8 - Update requirements for flake8 - remove flake8-coding which is no longer used - use darglint2 because darglint is no longer supported - also update fake-useragent Change-Id: I28affabf1897f0f567711ae4bcb78703460e02dd --- setup.py | 13 ++++++------- tox.ini | 3 --- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/setup.py b/setup.py index f0cf7d383f..3a23a455b4 100755 --- a/setup.py +++ b/setup.py @@ -49,17 +49,16 @@ 'Tkinter': ['Pillow>=8.1.2, != 10.0, != 10.1'], 'mwoauth': ['mwoauth!=0.3.1,>=0.2.4'], 'html': ['beautifulsoup4>=4.7.1'], - 'http': ['fake-useragent>1.2.1'], + 'http': ['fake-useragent>1.4.0'], 'flake8': [ # Due to incompatibilities between packages the order matters. 'flake8>=5.0.4', - 'darglint', - 'pydocstyle>=6.2.3', - 'flake8-bugbear!=23.1.14', - 'flake8-coding', - 'flake8-comprehensions', + 'darglint2', + 'pydocstyle>=6.3.0', + 'flake8-bugbear>=23.3.12', + 'flake8-comprehensions>=3.13.0', 'flake8-docstrings>=1.4.0', 'flake8-mock-x2', - 'flake8-print>=4.0.1', + 'flake8-print>=5.0.0', 'flake8-quotes>=3.3.2', 'flake8-string-format', 'flake8-tuple>=0.4.1', diff --git a/tox.ini b/tox.ini index 426168d263..fe8b050fe7 100644 --- a/tox.ini +++ b/tox.ini @@ -232,9 +232,6 @@ strictness=short docstring_style=sphinx ignore_regex=:keyword -# flake8-coding -no-accept-encodings = true - # pep8-naming classmethod-decorators = classmethod,classproperty # required with pep8-naming < 0.13