Commit Graph

7 Commits

Author SHA1 Message Date
igorgaming c7fd90a631
Add __file__ variable to globals in exec() (#25225)
Closes #25056
2025-07-08 23:16:59 +00:00
Danila Grobov bb6e909355
Test Coverage for older django versions (#24968)
Related to this issue:
https://github.com/microsoft/vscode-python/issues/24199

@mcobalchinisoftfocus Discovered an issue with older django versions,
which didn't have the main function in the manage.py


https://github.com/microsoft/vscode-python/pull/24927#issuecomment-2779480139

I've fixed this issue by executing the code in manage.py with __name__
set to __main__ instead of relying on main function being there.

I've also adjusted the test, so that it would cover this case.
2025-04-07 13:43:40 -07:00
Danila Grobov e9fb2bf146
Django Test Runs with Coverage (#24927)
https://github.com/microsoft/vscode-python/issues/24199

Co-authored-by: Danila Grobov (s4642g) <danila.grobov@seb.se>
2025-04-03 23:29:09 +00: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 884efada0c
fix django manage.py path validation (#24019)
fixes https://github.com/microsoft/vscode-python/issues/24001
2024-09-03 14:21:43 -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