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

Avoid double-extending past the end when showing source #1377

merged 1 commit into from Dec 26, 2022


Copy link

Resolves #1370.

@charliermarsh charliermarsh merged commit 1912121 into main Dec 26, 2022
1 check passed
@charliermarsh charliermarsh deleted the charlie/avoid branch December 26, 2022 00:52
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.

--show-source used together with isort and line continuation characters panics
1 participant