forked from pool/python-ruff
* Preview features * [flake8-bugbear] Support non-context-manager calls in B017 * [flake8-use-pathlib] Add autofixes for PTH100, PTH106, PTH107, PTH108, PTH110, PTH111, PTH112, PTH113, PTH114, PTH115, PTH117, PTH119, PTH120 * [flake8-use-pathlib] Add autofixes for PTH203, PTH204, PTH205 * Bug fixes * [flake8-return] Fix false-positive for variables used inside nested functions in RET504 * Treat form feed as valid whitespace before a line continuation * [flake8-type-checking] Fix syntax error introduced by fix (TC008) * [pyupgrade] Keyword arguments in super should suppress the UP008 fix * Documentation * [flake8-pyi] Make example error out-of-the-box (PYI007, PYI008) * [flake8-simplify] Make example error out-of-the-box (SIM116) * [flake8-type-checking] Make example error out-of-the-box (TC001) * [flake8-use-pathlib] Make example error out-of-the-box (PTH210) * [pycodestyle] Make example error out-of-the-box (E272) * [pycodestyle] Make example not raise unnecessary SyntaxError (E114) * [pydoclint] Make example error out-of-the-box (DOC501) * [pylint, pyupgrade] Fix syntax errors in examples (PLW1501, UP028) * [pylint] Update missing-maxsplit-arg docs and error to suggest proper usage (PLC0207) * [flake8-bandit] Make example error out-of-the-box (S412) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ruff?expand=0&rev=163
153 KiB
153 KiB