Skip to content

Commit

Permalink
[CI] Update requirements for flake8
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
xqt committed Jan 14, 2024
1 parent db53278 commit f9a9c43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
13 changes: 6 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 0 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9a9c43

Please sign in to comment.