xqt

Results 13 issues of xqt

* Date you used flake8-return: 2020-06-18 * flake8-return version used, if any: 1.1.1 * Python version: 3.8.0 * Operating System: Windows 10 ### Description flake8-return wrongly indicates R504 for the...

## Desired change * **Rule(s)**: SIM113 * **Adjustment**: The rule must be ignored if the counter variable is modified inside the loop and does not just count the loops ##...

enhancement

## Desired change * **Rule(s)**: SIM222 * **Adjustment**: The rule `Use 'True' instead of '... or True'` is wrong ## Example `'foo' or True` gives `'foo'` but not `True`, `1...

enhancement

## Desired change * **Rule**: SIM105 * **Adjustment**: `suppress` should not be used inside `try`/`finally` statement ## Explanation The code is not simplified because the `try` statement is still necessary...

enhancement

See T230196 https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/536620/ must be merged first

**Is your feature request related to a problem? Please describe.** Currently coverage supports Python until 3.12.0rc1. Pywikibot framework CI tests for example are tested for Python 3.13-dev too but coverage...

enhancement

httpbin fails with werkzeug 2.1.0 but httpbin is not maintained for 4 years. Consider to find another solution to replace httpbin or take over the httpbin code parts. See https://github.com/postmanlabs/httpbin/issues/673

flake8-string-format fails with Pythonn 3.14 due to [Removal of ast.Num, ast.Str, ast.Bytes, ast.NameConstant and ast.Ellipsis.](https://docs.python.org/3.14/whatsnew/changelog.html#changelog), see https://github.com/python/cpython/issues/119562 Traceback: https://github.com/wikimedia/pywikibot/actions/runs/9725654092/job/26843242475

There are no such issus with Python 3.7 - 3.13 but 3.14.0a0 fails: https://github.com/wikimedia/pywikibot/actions/runs/9730971025/job/26854787807 ``` Run python --version python --version flake8 --version flake8 --color always --doctests shell: /usr/bin/bash -e {0}...

The exception occurs when importing mwparserfromhell. See [here](https://github.com/wikimedia/pywikibot/actions/runs/10318192693) for a failing example. BTW it works with Python 3.14. Here is the traceback: ``` SystemError: Objects/dictobject.c:3774: bad argument to internal function...