Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
charliermarsh/ruff
### [`v0.0.237`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.237)
[Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.236...v0.0.237)
#### What's Changed
##### Breaking Changes
`--explain`, `--clean`, and `--generate-shell-completion` are now implemented as subcommands ([#2190](https://togithub.com/charliermarsh/ruff/pull/2190)):
ruff . # Still works! And will always work.
ruff check . # New! Also works.
ruff --explain E402 # Still works.
ruff rule E402 # New! Also works. (And preferred.)
### Oops! The command has to come first.
ruff --format json --explain E402 # No longer works.
ruff --explain E402 --format json # Still works!
ruff rule E402 --format json # Works! (And preferred.)
This change is largely backwards compatible -- most users should experience no change in behavior. For exceptions, see [`BREAKING_CHANGES.md`](https://togithub.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md#--explain---clean-and---generate-shell-completion-are-now-subcommands-2190).
##### Rules
- feat: pylint `PLE0604` and `PLE0605` by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2241](https://togithub.com/charliermarsh/ruff/pull/2241)
- feat: include os.getcwdb (bytes) into flake8-use-pathlib by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2276](https://togithub.com/charliermarsh/ruff/pull/2276)
- \[`flake8-bandit`] Add Rule S110 (try/except/pass) by [@sciyoshi](https://togithub.com/sciyoshi) in [https://github.com/charliermarsh/ruff/pull/2197](https://togithub.com/charliermarsh/ruff/pull/2197)
##### Settings
- Omit typing module from flake8-type-checking by default by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2277](https://togithub.com/charliermarsh/ruff/pull/2277)
##### Bug Fixes
- Fix SIM300 to take Python constants into account by [@frenck](https://togithub.com/frenck) in [https://github.com/charliermarsh/ruff/pull/2255](https://togithub.com/charliermarsh/ruff/pull/2255)
- Treat constant tuples as constants for yoda-conditions by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2265](https://togithub.com/charliermarsh/ruff/pull/2265)
- Treat attribute constants as constant for yoda-conditions by [@frenck](https://togithub.com/frenck) in [https://github.com/charliermarsh/ruff/pull/2266](https://togithub.com/charliermarsh/ruff/pull/2266)
- flake8-annotations: Move has_any_typed_arg into correct nested `if` by [@akx](https://togithub.com/akx) in [https://github.com/charliermarsh/ruff/pull/2269](https://togithub.com/charliermarsh/ruff/pull/2269)
- Expand heuristic for detecting logging calls by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2279](https://togithub.com/charliermarsh/ruff/pull/2279)
- Preserve global binding kind during reassignments by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2297](https://togithub.com/charliermarsh/ruff/pull/2297)
- Fix typo in typing_extensions by [@Jonxslays](https://togithub.com/Jonxslays) in [https://github.com/charliermarsh/ruff/pull/2298](https://togithub.com/charliermarsh/ruff/pull/2298)
#### New Contributors
- [@frenck](https://togithub.com/frenck) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2255](https://togithub.com/charliermarsh/ruff/pull/2255)
- [@sladyn98](https://togithub.com/sladyn98) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2141](https://togithub.com/charliermarsh/ruff/pull/2141)
- [@the-matt-morris](https://togithub.com/the-matt-morris) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2291](https://togithub.com/charliermarsh/ruff/pull/2291)
- [@Jonxslays](https://togithub.com/Jonxslays) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2298](https://togithub.com/charliermarsh/ruff/pull/2298)
**Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.236...v0.0.237
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
0.0.236
->0.0.237
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
charliermarsh/ruff
### [`v0.0.237`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.237) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.236...v0.0.237) #### What's Changed ##### Breaking Changes `--explain`, `--clean`, and `--generate-shell-completion` are now implemented as subcommands ([#2190](https://togithub.com/charliermarsh/ruff/pull/2190)): ruff . # Still works! And will always work. ruff check . # New! Also works. ruff --explain E402 # Still works. ruff rule E402 # New! Also works. (And preferred.) ### Oops! The command has to come first. ruff --format json --explain E402 # No longer works. ruff --explain E402 --format json # Still works! ruff rule E402 --format json # Works! (And preferred.) This change is largely backwards compatible -- most users should experience no change in behavior. For exceptions, see [`BREAKING_CHANGES.md`](https://togithub.com/charliermarsh/ruff/blob/main/BREAKING_CHANGES.md#--explain---clean-and---generate-shell-completion-are-now-subcommands-2190). ##### Rules - feat: pylint `PLE0604` and `PLE0605` by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2241](https://togithub.com/charliermarsh/ruff/pull/2241) - feat: include os.getcwdb (bytes) into flake8-use-pathlib by [@sbrugman](https://togithub.com/sbrugman) in [https://github.com/charliermarsh/ruff/pull/2276](https://togithub.com/charliermarsh/ruff/pull/2276) - \[`flake8-bandit`] Add Rule S110 (try/except/pass) by [@sciyoshi](https://togithub.com/sciyoshi) in [https://github.com/charliermarsh/ruff/pull/2197](https://togithub.com/charliermarsh/ruff/pull/2197) ##### Settings - Omit typing module from flake8-type-checking by default by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2277](https://togithub.com/charliermarsh/ruff/pull/2277) ##### Bug Fixes - Fix SIM300 to take Python constants into account by [@frenck](https://togithub.com/frenck) in [https://github.com/charliermarsh/ruff/pull/2255](https://togithub.com/charliermarsh/ruff/pull/2255) - Treat constant tuples as constants for yoda-conditions by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2265](https://togithub.com/charliermarsh/ruff/pull/2265) - Treat attribute constants as constant for yoda-conditions by [@frenck](https://togithub.com/frenck) in [https://github.com/charliermarsh/ruff/pull/2266](https://togithub.com/charliermarsh/ruff/pull/2266) - flake8-annotations: Move has_any_typed_arg into correct nested `if` by [@akx](https://togithub.com/akx) in [https://github.com/charliermarsh/ruff/pull/2269](https://togithub.com/charliermarsh/ruff/pull/2269) - Expand heuristic for detecting logging calls by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2279](https://togithub.com/charliermarsh/ruff/pull/2279) - Preserve global binding kind during reassignments by [@charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/2297](https://togithub.com/charliermarsh/ruff/pull/2297) - Fix typo in typing_extensions by [@Jonxslays](https://togithub.com/Jonxslays) in [https://github.com/charliermarsh/ruff/pull/2298](https://togithub.com/charliermarsh/ruff/pull/2298) #### New Contributors - [@frenck](https://togithub.com/frenck) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2255](https://togithub.com/charliermarsh/ruff/pull/2255) - [@sladyn98](https://togithub.com/sladyn98) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2141](https://togithub.com/charliermarsh/ruff/pull/2141) - [@the-matt-morris](https://togithub.com/the-matt-morris) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2291](https://togithub.com/charliermarsh/ruff/pull/2291) - [@Jonxslays](https://togithub.com/Jonxslays) made their first contribution in [https://github.com/charliermarsh/ruff/pull/2298](https://togithub.com/charliermarsh/ruff/pull/2298) **Full Changelog**: https://github.com/charliermarsh/ruff/compare/v0.0.236...v0.0.237Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.