What's Changed
Rules
- [
numpy
] numpy-legacy-random by @sbrugman in #2960 - [
pycodestyle
] autofix useless semicolons by @sbrugman in #3001 - [
pep8-naming
] Implementflake8-module-naming
by @sbrugman in #2855 - [
flake8-self
] Ignore namedtuple methods in flake8-self by @charliermarsh in #2998 - [
flake8-simplify
] Merge convert-loop-to-any & convert-loop-to-all to reimplemented-builtin by @not-my-profile in #2903 - [
ruff
] Add support forensure_future
for RUF006 by @Lunarmagpie in #2943 - [
pylint
] error when__init__
returns a value by @r3m0t in #3007 - [
flake8-pytest-style
] autofix for composite-assertion (PT018) by @sbrugman in #2732 - [
flake8-tidy-imports
] extend autofix of relative imports by @sbrugman in #2990
Settings
- Add support for file-scoped
noqa
directives by @charliermarsh in #2978 - Add configuration option for C408 to allow dict calls with keyword arguments. by @manueljacob in #2977
- feat(isort): Implement isort.force_to_top by @spaceone in #2877
Bug Fixes
- Fix add-required-import with multi-line offsets by @charliermarsh in #2946
- Support positional messages in assertion rewrites by @charliermarsh in #3002
- Avoid false-positives for break in with by @charliermarsh in #3032
- Avoid trying to fix implicit returns with control flow by @charliermarsh in #2962
- Handle non-from future imports by @charliermarsh in #2974
- Enforce D403 on methods by @charliermarsh in #2992
- Avoid zero-indexed column for IOError by @charliermarsh in #2995
- Fix for F541 unescape f-string by @sbrugman in #2971
- Avoid raising
B027
violations in.pyi
files by @JonathanPlasse in #3016
New Contributors
- @Lunarmagpie made their first contribution in #2943
- @manueljacob made their first contribution in #2966
- @mwtoews made their first contribution in #2973
- @ortem made their first contribution in #2976
- @thatlittleboy made their first contribution in #3027
- @r3m0t made their first contribution in #3007
Full Changelog: v0.0.247...v0.0.248