Commit Graph

10 Commits

Author SHA1 Message Date
Anthony Kim d5b19e7be9
add extra newline to execute when returning dictionary (#24784)
Resolves: https://github.com/microsoft/vscode-python/issues/22469
Need one more extra line to "execute" on behalf of user when returning
dictionary.
2025-02-05 13:51:17 -08:00
Karthik Nadig 5cec0e0461
Revert "ruff 0.8.0 fixes" (#24489)
Reverts microsoft/vscode-python#24488
2024-11-25 21:00:10 +00:00
Joar Wandborg 98fea6ec58
ruff 0.8.0 fixes (#24488)
- Ruff 0.8.0 was released on November 22nd
([changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md#080))
- [Lint action installs latest version of
`ruff`](9059aeae65/.github/actions/lint/action.yml (L46))
2024-11-25 17:02:10 +00:00
Anthony Kim aae2b638f0
add bracketed paste mode for Python3.13 and above (#24401)
Resolves: #23843
Related: https://github.com/python/cpython/issues/126449
2024-11-08 10:54:03 -08:00
Anthony Kim 6578d9d0b7
Revert "Do not truncate whitespace for multi-line string" (#24096)
Reverts microsoft/vscode-python#23977

Have to revert https://github.com/microsoft/vscode-python/pull/23977
with issue: https://github.com/microsoft/vscode-python/issues/23743 due
to https://github.com/microsoft/vscode-python/issues/24069

Will revisit why https://github.com/microsoft/vscode-python/issues/23743
is breaking if contained inside other top level (in ast term) code
block, and look into how to support
https://github.com/microsoft/vscode-python/issues/23743 without
breaking.
2024-09-11 19:15:48 -04:00
Anthony Kim e751377b01
Do not truncate whitespace for multi-line string (#23977)
Resolves: https://github.com/microsoft/vscode-python/issues/23743

It seems that when people have a multi line string such surrounded by
""" quotes, the white spacing inside the quote is very much intentional,
and so if we detect that they are in such code-block, we would rather
not normalize/truncate the white spaces for that specific code block.
2024-08-20 14:14:11 -07:00
Brett Cannon 462b9bf2cb
Enable explicit Ruff check rules (#23741)
Co-authored-by: Rafał <23004737+rafrafek@users.noreply.github.com>
2024-07-09 13:01:15 -07:00
Anthony Kim ff4c68887f
Take Smart Send Out of Experiment (#23067)
Resolves: https://github.com/microsoft/vscode-python/issues/23045
2024-03-14 13:32:15 -07:00
Brett Cannon e931bed3ef
Move to Ruff for formatting (#23060)
Also set the line length to 100.
2024-03-12 15:35:53 -07:00
Karthik Nadig 27783cea76
Rename `pythonFiles` to `python_files` (#22921) 2024-03-01 13:27:50 -08:00