Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/990397 )
Change subject: [CI] Update requirements for flake8 ......................................................................
[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 --- M setup.py M tox.ini 2 files changed, 20 insertions(+), 10 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/setup.py b/setup.py index f0cf7d3..3a23a45 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 426168d..fe8b050 100644 --- a/tox.ini +++ b/tox.ini @@ -232,9 +232,6 @@ docstring_style=sphinx ignore_regex=:keyword
-# flake8-coding -no-accept-encodings = true - # pep8-naming classmethod-decorators = classmethod,classproperty # required with pep8-naming < 0.13