Eleanor Boyd
2faa164170
fix linting ( #25194 )
2025-06-19 10:21:06 -07:00
Eleanor Boyd
84280b0069
fix regression with import packaging for branch coverage ( #25070 )
...
fixes https://github.com/Microsoft/vscode-python/issues/25044
2025-05-15 06:30:21 -07:00
Eleanor Boyd
4b7650e042
support branch coverage for testing ( #24980 )
...
fixes https://github.com/microsoft/vscode-python/issues/24976
2025-04-14 13:04:06 -07: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
Eleanor Boyd
92762ca7d9
remove EOT from testing communication ( #24220 )
...
remove the need for the EOT in the communication design between the
extension and the python subprocesses produced to run testing.
2024-10-03 14:57:57 -07:00
Eleanor Boyd
710d3c80f2
Remove branch coverage and refactor coverage.py methods for accessing ( #24180 )
...
Removing branch coverage from the payload as the initial way it was
being discovered / added was not documented / in the coverage.py API and
therefore is not guaranteed to be stable. Removing for now with plans to
add upstream and re-include in the extension here
coverage PR: https://github.com/microsoft/vscode-python/pull/24118
2024-09-25 14:19:59 -07:00
Eleanor Boyd
8268131ebf
Implementation of Test Coverage ( #24118 )
...
fixes https://github.com/microsoft/vscode-python/issues/22671
2024-09-18 08:33:28 -07:00
Eleanor Boyd
ef7c7e3aed
switch to using temp file for test_ids ( #24054 )
...
first step in work on
https://github.com/microsoft/vscode-python/issues/23279
---------
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
2024-09-05 13:02:38 -07:00
Eleanor Boyd
59a8d030d9
Django Test Compatibility ( #23935 )
...
implements and thus closes
https://github.com/microsoft/vscode-python/issues/22206
resolves https://github.com/microsoft/vscode-python/issues/73 !
2024-08-14 13:04:44 -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
Eleanor Boyd
bd6a9245cd
Add parent directory to sys.path for unittest discovery and execution ( #23712 )
...
fixes https://github.com/microsoft/vscode-python/issues/23392
2024-06-27 09:21:06 -07:00
Eleanor Boyd
312d9efd93
add sys config scripts path to test execution path ( #23418 )
...
resolves https://github.com/microsoft/vscode-python/issues/22395
2024-05-14 10:19:47 -07:00
Karthik Nadig
f86dcb1dad
Fix for unittest with `testscenarios` ( #23230 )
...
Fixes https://github.com/microsoft/vscode-python/issues/17641
---------
Co-authored-by: eleanorjboyd <eleanorboyd@microsoft.com>
2024-04-18 13:01:53 -07:00
Karthik Nadig
0f6606c369
Switch to using named pipes for test communication ( #22390 )
...
Resolves https://github.com/microsoft/vscode-python/issues/22177 .
Switches to using named pipes as communication between extension and
test run subprocesses.
---------
Co-authored-by: eleanorjboyd <eleanorboyd@microsoft.com>
2024-04-16 08:18:37 -07:00
Shane Saravia
7c04ef221c
Resolve test suite execution import errors due to path ordering ( #23099 )
...
- This has already been discussed and resolved for tests discovery in
this [PR](https://github.com/microsoft/vscode-python/pull/22454 )
- I have now run into the same issue for executing the test suite and
have applied the same fix in this PR
- Tested and working
[Issue](https://github.com/microsoft/vscode-python/issues/23098 ) for
this current PR
[Original
Issue](https://github.com/microsoft/vscode-python/issues/22453 )
[Original PR](https://github.com/microsoft/vscode-python/pull/22454 )
Co-authored-by: Eleanor Boyd <eleanorboyd@microsoft.com>
2024-03-29 12:24:07 -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
Brett Cannon
7ea5584291
Add linting rules for ruff ( #22741 )
...
Co-authored-by: Karthik Nadig <kanadig@microsoft.com>
Co-authored-by: eleanorjboyd <eleanorboyd@microsoft.com>
2024-03-12 12:24:59 -07:00
Karthik Nadig
27783cea76
Rename `pythonFiles` to `python_files` ( #22921 )
2024-03-01 13:27:50 -08:00