chore(deps): update dependency ruff to v0.0.236
This MR contains the following updates:
Package | Update | Change |
---|---|---|
ruff | patch |
0.0.231 -> 0.0.236
|
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
charliermarsh/ruff
v0.0.236
What's Changed
Rules
- feat: implement
TRY002
andTRY003
by @karpa4o4 in https://github.com/charliermarsh/ruff/pull/2135 - Implementing
TRY400
by @Flowake in https://github.com/charliermarsh/ruff/pull/2115 - Implement some rules from
flake8-logging-format
(G
) by @edgarrmondragon in https://github.com/charliermarsh/ruff/pull/2150
Settings
- Add strictness setting for
flake8-typing-imports
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2221 - Implement
exempt-modules
setting from flake8-type-checking by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2230
Bug fixes
- flake8_executable: Only match shebang at beginning of line by @andersk in https://github.com/charliermarsh/ruff/pull/2183
- Don't flag B009/B010 if identifiers would be mangled by @sciyoshi in https://github.com/charliermarsh/ruff/pull/2204
- fix: --explain reporting the wrong linter by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2215
- Preserve indentation when fixing via LibCST by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2223
- Avoid erroneous class autofixes in indented blocks by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2226
- Fix range for
try-consider-else
by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2228 - Avoid flagging blind exceptions with valid logging by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2232
- Avoid removing trailing comments on
pass
statements by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2235 - Allow
pytest
in shebang by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2237 - Wrap return-bool-condition-directly fixes in bool() by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2240
New Contributors
- @Flowake made their first contribution in https://github.com/charliermarsh/ruff/pull/2115
- @henryiii made their first contribution in https://github.com/charliermarsh/ruff/pull/2200
- @sciyoshi made their first contribution in https://github.com/charliermarsh/ruff/pull/2204
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.235...v0.0.236
v0.0.235
Summary
Follow-up release to v0.0.234
to fix two non-fatal issues related to CLI output.
(No new rules or functionality.)
What's Changed
- Avoid duplicate CI runs triggered by pushes to pull requests by @andersk in https://github.com/charliermarsh/ruff/pull/2178
- Restore single-file license by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2180
- Windows compatibility by @sbrugman in https://github.com/charliermarsh/ruff/pull/2033
- Remove stray parenthesis from fixed errors message by @andersk in https://github.com/charliermarsh/ruff/pull/2181
- Fix conflicting error message warning by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2182
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.234...v0.0.235
v0.0.234
What's Changed
- Move is_overlong to helpers by @ericroberts in https://github.com/charliermarsh/ruff/pull/2137
- Update .pre-commit-config.yml by @JonathanPlasse in https://github.com/charliermarsh/ruff/pull/2139
- Avoid generating dirty call paths by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2144
- Implement runtime-import-in-type-checking-block (TYP004) by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2146
- Implement typing-only import detection (TYP001, TYP002, TYP003) by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2147
- Add
#![warn(clippy::pedantic)]
to lib.rs and main.rs files by @not-my-profile in https://github.com/charliermarsh/ruff/pull/2148 - Treat Python 3.7 as minimum supported version by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2159
- Avoid flagging unused loop variable (B007) with locals() by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2161
- Avoid prefer-type-error (TRY004) with intermediary control flow by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2162
- Add an FAQ on autofix by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2163
- Avoid re-resolving settings for repeated paths by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2165
- Suggest input format in error case by @spaceone in https://github.com/charliermarsh/ruff/pull/2167
- Re-add error wrapper in main.rs by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2168
- fix: avoid flagging unused loop variable (B007) with globals(), vars() or eval() by @spaceone in https://github.com/charliermarsh/ruff/pull/2166
- Fix singular and plural for "error(s)" by @hugovk in https://github.com/charliermarsh/ruff/pull/2157
- Add Babel to readme by @akx in https://github.com/charliermarsh/ruff/pull/2170
- Add flake8-builtins options to README by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2173
- Avoid reraise-no-cause for explicit reraises by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2174
- Rename TYP rules to TYC by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2175
- Actually, rename TYP rules to TCH by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2176
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.233...v0.0.234
v0.0.233
This is a rerun of v0.0.232
(unreleased) to address build failures on Windows.
What's Changed
- Move compare to helpers file by @ericroberts in https://github.com/charliermarsh/ruff/pull/2131
- Enable executable checks on Windows by @charliermarsh in https://github.com/charliermarsh/ruff/pull/2133
Full Changelog: https://github.com/charliermarsh/ruff/compare/v0.0.232...v0.0.233
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.