Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve excepthandler_name_range #1368



Copy link

@harupy harupy commented Dec 25, 2022

Follow-up for #1367. Improves excepthandler_name_range to only tokenize the as name part.

@charliermarsh charliermarsh merged commit dca3fcd into charliermarsh:main Dec 25, 2022
5 checks passed
renovate bot added a commit to ixm-one/pytest-cmake-presets that referenced this pull request Dec 26, 2022

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
| [ruff]( | `^0.0.193` ->
`^0.0.194` |


### Release Notes




##### What's Changed

- Fix F841 (`UnusedVariable`) range in except handler by
[@&#8203;harupy]( in
- Improve `excepthandler_name_range` by
[@&#8203;harupy]( in
- Ignore unused arguments for
[@&#8203;overload]( stubs by
[@&#8203;charliermarsh]( in
- Respect natural ordering for imports by
[@&#8203;charliermarsh]( in
- Add a `--fix-only` command-line and `pyproject.toml` option by
[@&#8203;charliermarsh]( in
- Avoid double-extending past the end when showing source by
[@&#8203;charliermarsh]( in
- Add --required-version by
[@&#8203;charliermarsh]( in

**Full Changelog**:



### 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


- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box


This PR has been generated by [Mend
Renovate]( View
repository job log


Signed-off-by: Renovate Bot <>
Co-authored-by: renovate[bot] <29139614+renovate[bot]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants