astral-sh/ruff (ruff)
### [`v0.3.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#031)
[Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.3.0...v0.3.1)
##### Preview features
- \[`pycodestyle`] Fix E301 not triggering on decorated methods. ([#10117](https://togithub.com/astral-sh/ruff/pull/10117))
- \[`pycodestyle`] Respect `isort` settings in blank line rules (`E3*`) ([#10096](https://togithub.com/astral-sh/ruff/pull/10096))
- \[`pycodestyle`] Make blank lines in typing stub files optional (`E3*`) ([#10098](https://togithub.com/astral-sh/ruff/pull/10098))
- \[`pylint`] Implement `singledispatch-method` (`E1519`) ([#10140](https://togithub.com/astral-sh/ruff/pull/10140))
- \[`pylint`] Implement `useless-exception-statement` (`W0133`) ([#10176](https://togithub.com/astral-sh/ruff/pull/10176))
##### Rule changes
- \[`flake8-debugger`] Check for use of `debugpy` and `ptvsd` debug modules ([#10177](https://togithub.com/astral-sh/ruff/issues/10177)) ([#10194](https://togithub.com/astral-sh/ruff/pull/10194))
- \[`pyupgrade`] Generate diagnostic for all valid f-string conversions regardless of line length (`UP032`) ([#10238](https://togithub.com/astral-sh/ruff/pull/10238))
- \[`pep8_naming`] Add fixes for `N804` and `N805` ([#10215](https://togithub.com/astral-sh/ruff/pull/10215))
##### CLI
- Colorize the output of `ruff format --diff` ([#10110](https://togithub.com/astral-sh/ruff/pull/10110))
- Make `--config` and `--isolated` global flags ([#10150](https://togithub.com/astral-sh/ruff/pull/10150))
- Correctly expand tildes and environment variables in paths passed to `--config` ([#10219](https://togithub.com/astral-sh/ruff/pull/10219))
##### Configuration
- Accept a PEP 440 version specifier for `required-version` ([#10216](https://togithub.com/astral-sh/ruff/pull/10216))
- Implement isort's `default-section` setting ([#10149](https://togithub.com/astral-sh/ruff/pull/10149))
##### Bug fixes
- Remove trailing space from `CapWords` message ([#10220](https://togithub.com/astral-sh/ruff/pull/10220))
- Respect external codes in file-level exemptions ([#10203](https://togithub.com/astral-sh/ruff/pull/10203))
- \[`flake8-raise`] Avoid false-positives for parens-on-raise with `future.exception()` (`RSE102`) ([#10206](https://togithub.com/astral-sh/ruff/pull/10206))
- \[`pylint`] Add fix for unary expressions in `PLC2801` ([#9587](https://togithub.com/astral-sh/ruff/pull/9587))
- \[`ruff`] Fix RUF028 not allowing `# fmt: skip` on match cases ([#10178](https://togithub.com/astral-sh/ruff/pull/10178))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 11am and before 11pm every weekend" in timezone Asia/Tokyo.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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.3.0
->==0.3.1
Release Notes
astral-sh/ruff (ruff)
### [`v0.3.1`](https://togithub.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#031) [Compare Source](https://togithub.com/astral-sh/ruff/compare/v0.3.0...v0.3.1) ##### Preview features - \[`pycodestyle`] Fix E301 not triggering on decorated methods. ([#10117](https://togithub.com/astral-sh/ruff/pull/10117)) - \[`pycodestyle`] Respect `isort` settings in blank line rules (`E3*`) ([#10096](https://togithub.com/astral-sh/ruff/pull/10096)) - \[`pycodestyle`] Make blank lines in typing stub files optional (`E3*`) ([#10098](https://togithub.com/astral-sh/ruff/pull/10098)) - \[`pylint`] Implement `singledispatch-method` (`E1519`) ([#10140](https://togithub.com/astral-sh/ruff/pull/10140)) - \[`pylint`] Implement `useless-exception-statement` (`W0133`) ([#10176](https://togithub.com/astral-sh/ruff/pull/10176)) ##### Rule changes - \[`flake8-debugger`] Check for use of `debugpy` and `ptvsd` debug modules ([#10177](https://togithub.com/astral-sh/ruff/issues/10177)) ([#10194](https://togithub.com/astral-sh/ruff/pull/10194)) - \[`pyupgrade`] Generate diagnostic for all valid f-string conversions regardless of line length (`UP032`) ([#10238](https://togithub.com/astral-sh/ruff/pull/10238)) - \[`pep8_naming`] Add fixes for `N804` and `N805` ([#10215](https://togithub.com/astral-sh/ruff/pull/10215)) ##### CLI - Colorize the output of `ruff format --diff` ([#10110](https://togithub.com/astral-sh/ruff/pull/10110)) - Make `--config` and `--isolated` global flags ([#10150](https://togithub.com/astral-sh/ruff/pull/10150)) - Correctly expand tildes and environment variables in paths passed to `--config` ([#10219](https://togithub.com/astral-sh/ruff/pull/10219)) ##### Configuration - Accept a PEP 440 version specifier for `required-version` ([#10216](https://togithub.com/astral-sh/ruff/pull/10216)) - Implement isort's `default-section` setting ([#10149](https://togithub.com/astral-sh/ruff/pull/10149)) ##### Bug fixes - Remove trailing space from `CapWords` message ([#10220](https://togithub.com/astral-sh/ruff/pull/10220)) - Respect external codes in file-level exemptions ([#10203](https://togithub.com/astral-sh/ruff/pull/10203)) - \[`flake8-raise`] Avoid false-positives for parens-on-raise with `future.exception()` (`RSE102`) ([#10206](https://togithub.com/astral-sh/ruff/pull/10206)) - \[`pylint`] Add fix for unary expressions in `PLC2801` ([#9587](https://togithub.com/astral-sh/ruff/pull/9587)) - \[`ruff`] Fix RUF028 not allowing `# fmt: skip` on match cases ([#10178](https://togithub.com/astral-sh/ruff/pull/10178))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 11am and before 11pm every weekend" in timezone Asia/Tokyo.
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, 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.