Closed renovate[bot] closed 1 year ago
Merging #26 (d0bba09) into main (d1dd6e1) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #26 +/- ##
=======================================
Coverage 78.39% 78.39%
=======================================
Files 11 11
Lines 486 486
Branches 109 109
=======================================
Hits 381 381
Misses 75 75
Partials 30 30
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
This PR contains the following updates:
==0.0.247
->==0.0.252
==4.4.5
->==4.4.6
Release Notes
charliermarsh/ruff
### [`v0.0.252`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.252) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.251...v0.0.252) ##### What's Changed ##### Rules - \[`pylint`] `redefined-loop-name` (`W2901`) by [@matthewlloyd](https://togithub.com/matthewlloyd) in [https://github.com/charliermarsh/ruff/pull/3022](https://togithub.com/charliermarsh/ruff/pull/3022) - \[`pylint`] ` logging-too-many-args ` (`E1205`) by [@md384](https://togithub.com/md384) in [https://github.com/charliermarsh/ruff/pull/3084](https://togithub.com/charliermarsh/ruff/pull/3084) - \[`pylint`] ` logging-too-few-args ` (`E1206`) by [@md384](https://togithub.com/md384) in [https://github.com/charliermarsh/ruff/pull/3084](https://togithub.com/charliermarsh/ruff/pull/3084) ##### Bug Fixes - Include file permissions in cache key by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3104](https://togithub.com/charliermarsh/ruff/pull/3104) - Skip EXE001 and EXE002 rules on Windows by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3111](https://togithub.com/charliermarsh/ruff/pull/3111) - Mark `typing.assert_never` as no return by [@bluetech](https://togithub.com/bluetech) in [https://github.com/charliermarsh/ruff/pull/3121](https://togithub.com/charliermarsh/ruff/pull/3121) - Use file-specific quote for C408 by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3128](https://togithub.com/charliermarsh/ruff/pull/3128) - Avoid match statement misidentification in token rules by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3129](https://togithub.com/charliermarsh/ruff/pull/3129) - Upgrade RustPython to handle trailing commas in map patterns by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3130](https://togithub.com/charliermarsh/ruff/pull/3130) - Avoid useless-else-on-loop for break within match by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3136](https://togithub.com/charliermarsh/ruff/pull/3136) - Fix isort `no-lines-before` preceded by an empty section by [@bluetech](https://togithub.com/bluetech) in [https://github.com/charliermarsh/ruff/pull/3139](https://togithub.com/charliermarsh/ruff/pull/3139) - Support shell expansion for --config argument by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3107](https://togithub.com/charliermarsh/ruff/pull/3107) - Fix =/== error in `ManualDictLookup` by [@Rupt](https://togithub.com/Rupt) in [https://github.com/charliermarsh/ruff/pull/3117](https://togithub.com/charliermarsh/ruff/pull/3117) - Include match in nested block check by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3137](https://togithub.com/charliermarsh/ruff/pull/3137) - Upgrade RustPython to match new flattened exports by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3141](https://togithub.com/charliermarsh/ruff/pull/3141) ##### New Contributors - [@md384](https://togithub.com/md384) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3084](https://togithub.com/charliermarsh/ruff/pull/3084) - [@Rupt](https://togithub.com/Rupt) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3117](https://togithub.com/charliermarsh/ruff/pull/3117) - [@marijncv](https://togithub.com/marijncv) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3133](https://togithub.com/charliermarsh/ruff/pull/3133) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.251...v0.0.252 ### [`v0.0.251`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.251) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.250...v0.0.251) ##### What's Changed ##### Bug Fixes - Create bindings for `MatchAs` patterns by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3098](https://togithub.com/charliermarsh/ruff/pull/3098) - Avoid prefer-list-builtin for lambdas with `*args` or `**kwargs` by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3102](https://togithub.com/charliermarsh/ruff/pull/3102) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.250...v0.0.251 ### [`v0.0.250`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.250) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.249...v0.0.250) ##### What's Changed **Ruff now supports all Python 3.10 and 3.11 language features**, including: - Structural Pattern Patching (`match` statements) ([PEP 634](https://peps.python.org/pep-0634/#class-patterns)) - Exception Groups (`except*` statements) ([PEP 654](https://peps.python.org/pep-0654/)) ##### Rules - \[`flake8-bugbear`] Add B029 (`except-with-empty-tuple`) from flake8-bugbear by [@carlosmiei](https://togithub.com/carlosmiei) in [https://github.com/charliermarsh/ruff/pull/3068](https://togithub.com/charliermarsh/ruff/pull/3068) - \[`flake8-bugbear`] Add B032 (`unintentional-type-annotation`) from flake8\_bugbear by [@carlosmiei](https://togithub.com/carlosmiei) in [https://github.com/charliermarsh/ruff/pull/3085](https://togithub.com/charliermarsh/ruff/pull/3085) - \[`tryceratops`]: Add TRY401 (`verbose-log-messages`) by [@colin99d](https://togithub.com/colin99d) in [https://github.com/charliermarsh/ruff/pull/3036](https://togithub.com/charliermarsh/ruff/pull/3036) - \[`flake8-simplify`]: Add SIM116 (`manual-dict-lookup`) by [@colin99d](https://togithub.com/colin99d) in [https://github.com/charliermarsh/ruff/pull/2767](https://togithub.com/charliermarsh/ruff/pull/2767) ##### Features - Add support for TryStar by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3089](https://togithub.com/charliermarsh/ruff/pull/3089) - Add support for structural pattern matching by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3047](https://togithub.com/charliermarsh/ruff/pull/3047) ##### Bug Fixes - \[`flake8-pytest`] Use LibCST to fix chained assertions by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3087](https://togithub.com/charliermarsh/ruff/pull/3087) - \[`flake8-boolean-trap`] Avoid boolean-trap rules for positional-only builtin calls by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3075](https://togithub.com/charliermarsh/ruff/pull/3075) - \[`flake8-boolean-trap`] Ignore setters in flake8-boolean-trap by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3092](https://togithub.com/charliermarsh/ruff/pull/3092) - \[`flake8-return`] Omit `while-True` loops from implicit return enforcement by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3076](https://togithub.com/charliermarsh/ruff/pull/3076) ##### New Contributors - [@carlosmiei](https://togithub.com/carlosmiei) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3068](https://togithub.com/charliermarsh/ruff/pull/3068) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.249...v0.0.250 ### [`v0.0.249`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.249) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.248...v0.0.249) #### What's Changed ##### Bug Fixes - Relax constraints on pep8-naming module validation by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3043](https://togithub.com/charliermarsh/ruff/pull/3043) - Do not autofix `E731` in class bodies by [@JoshKarpel](https://togithub.com/JoshKarpel) in [https://github.com/charliermarsh/ruff/pull/3050](https://togithub.com/charliermarsh/ruff/pull/3050) - Avoid assert() to assert statement conversion in expressions by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3062](https://togithub.com/charliermarsh/ruff/pull/3062) #### New Contributors - [@matthewlloyd](https://togithub.com/matthewlloyd) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3048](https://togithub.com/charliermarsh/ruff/pull/3048) - [@JoshKarpel](https://togithub.com/JoshKarpel) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3050](https://togithub.com/charliermarsh/ruff/pull/3050) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.248...v0.0.249 ### [`v0.0.248`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.248) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.247...v0.0.248) ##### What's Changed ##### Rules - \[`numpy`] numpy-legacy-random by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2960](https://togithub.com/charliermarsh/ruff/pull/2960) - \[`pycodestyle`] autofix useless semicolons by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/3001](https://togithub.com/charliermarsh/ruff/pull/3001) - \[`pep8-naming`] Implement `flake8-module-naming` by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2855](https://togithub.com/charliermarsh/ruff/pull/2855) - \[`flake8-self`] Ignore namedtuple methods in flake8-self by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2998](https://togithub.com/charliermarsh/ruff/pull/2998) - \[`flake8-simplify`] Merge convert-loop-to-any & convert-loop-to-all to reimplemented-builtin by [@not-my-profile](https://togithub.com/not-my-profile) in [https://github.com/charliermarsh/ruff/pull/2903](https://togithub.com/charliermarsh/ruff/pull/2903) - \[`ruff`] Add support for `ensure_future` for RUF006 by [@Lunarmagpie](https://togithub.com/Lunarmagpie) in [https://github.com/charliermarsh/ruff/pull/2943](https://togithub.com/charliermarsh/ruff/pull/2943) - \[`pylint`] error when `__init__` returns a value by [@r3m0t](https://togithub.com/r3m0t) in [https://github.com/charliermarsh/ruff/pull/3007](https://togithub.com/charliermarsh/ruff/pull/3007) - \[`flake8-pytest-style`] autofix for composite-assertion (PT018) by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2732](https://togithub.com/charliermarsh/ruff/pull/2732) - \[`flake8-tidy-imports`] extend autofix of relative imports by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2990](https://togithub.com/charliermarsh/ruff/pull/2990) ##### Settings - Add support for file-scoped `noqa` directives by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2978](https://togithub.com/charliermarsh/ruff/pull/2978) - Add configuration option for C408 to allow dict calls with keyword arguments. by [@manueljacob](https://togithub.com/manueljacob) in [https://github.com/charliermarsh/ruff/pull/2977](https://togithub.com/charliermarsh/ruff/pull/2977) - feat(isort): Implement isort.force_to_top by [@spaceone](https://togithub.com/spaceone) in [https://github.com/charliermarsh/ruff/pull/2877](https://togithub.com/charliermarsh/ruff/pull/2877) ##### Bug Fixes - Fix add-required-import with multi-line offsets by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2946](https://togithub.com/charliermarsh/ruff/pull/2946) - Support positional messages in assertion rewrites by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3002](https://togithub.com/charliermarsh/ruff/pull/3002) - Avoid false-positives for break in with by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3032](https://togithub.com/charliermarsh/ruff/pull/3032) - Avoid trying to fix implicit returns with control flow by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2962](https://togithub.com/charliermarsh/ruff/pull/2962) - Handle non-from **future** imports by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2974](https://togithub.com/charliermarsh/ruff/pull/2974) - Enforce D403 on methods by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2992](https://togithub.com/charliermarsh/ruff/pull/2992) - Avoid zero-indexed column for IOError by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2995](https://togithub.com/charliermarsh/ruff/pull/2995) - Fix for F541 unescape f-string by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2971](https://togithub.com/charliermarsh/ruff/pull/2971) - Avoid raising `B027` violations in `.pyi` files by [@JonathanPlasse](https://togithub.com/JonathanPlasse) in [https://github.com/charliermarsh/ruff/pull/3016](https://togithub.com/charliermarsh/ruff/pull/3016) ##### New Contributors - [@Lunarmagpie](https://togithub.com/Lunarmagpie) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2943](https://togithub.com/charliermarsh/ruff/pull/2943) - [@manueljacob](https://togithub.com/manueljacob) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2966](https://togithub.com/charliermarsh/ruff/pull/2966) - [@mwtoews](https://togithub.com/mwtoews) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2973](https://togithub.com/charliermarsh/ruff/pull/2973) - [@ortem](https://togithub.com/ortem) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2976](https://togithub.com/charliermarsh/ruff/pull/2976) - [@thatlittleboy](https://togithub.com/thatlittleboy) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3027](https://togithub.com/charliermarsh/ruff/pull/3027) - [@r3m0t](https://togithub.com/r3m0t) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3007](https://togithub.com/charliermarsh/ruff/pull/3007) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.247...v0.0.248tox-dev/tox
### [`v4.4.6`](https://togithub.com/tox-dev/tox/releases/tag/4.4.6) [Compare Source](https://togithub.com/tox-dev/tox/compare/4.4.5...4.4.6) #### What's Changed - Add link to our own disucssion board by [@jugmac00](https://togithub.com/jugmac00) in [https://github.com/tox-dev/tox/pull/2921](https://togithub.com/tox-dev/tox/pull/2921) - Custom prefix in .ini source by [@masenf](https://togithub.com/masenf) in [https://github.com/tox-dev/tox/pull/2927](https://togithub.com/tox-dev/tox/pull/2927) **Full Changelog**: https://github.com/tox-dev/tox/compare/4.4.5...4.4.6Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Etc/UTC, Automerge - "after 1 am and before 7 am" in timezone Etc/UTC.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.