Commit Graph

14 Commits

Author SHA1 Message Date
Sebastian Rittau aebefb1754 Remove support for pytype (#14463) 2025-07-27 11:47:37 +02:00
Avasam 64875ee375 Support requires_python in runtests.py (#14051) 2025-05-13 18:51:46 +02:00
Sebastian Rittau 2d50d6b316 Support Python 3.14 (#13957) 2025-05-10 06:27:40 -07:00
Avasam 4265ee7c72 Enable Ruff flake8-use-pathlib (PTH) (#13795)
Port existing code to pathlib
2025-05-05 18:59:43 +02:00
Avasam eafa274f1b Enable Ruff PLW (Pylint Warning) (#13749) 2025-04-01 15:12:15 +02:00
Avasam 11929debd4 Update pip install calls in scripts to use uv. And messages to reference current executable (#13597) 2025-03-27 09:55:38 +01:00
Sebastian Rittau 822fae31e5 Remove Python 3.8 from CI (#13387) 2025-01-10 14:15:39 +01:00
Sebastian Rittau 2d0f6d8277 Bundle path handling in ts_utils.paths (#12805) 2024-10-17 08:16:10 +02:00
Sebastian Rittau 1fa4986f71 Move common utility functions to a common library (#12773) 2024-10-14 08:00:02 +02:00
Avasam d34ef50754 Optional pytype install on Windows (no CI) (#12669) 2024-09-17 10:58:31 +02:00
Sebastian Rittau 425c69a6b9 Prefix utility modules with underscore (#11999) 2024-05-22 09:35:11 -04:00
Alex Waygood b8d144d491 Add 3.13 to our CI (#11926) 2024-05-19 16:18:49 -04:00
Avasam 1230ced066 runtests: Run pre-commit only on specified files (#11949) 2024-05-18 09:07:42 -04:00
Sebastian Rittau e436dfe219 Unify test directory handling (#11864)
Previously, handling of test directories (`@tests` and `test_cases`) was
distributed over multiple files and redundant. This unifies the handling
in the `utils` module. This also fixes some instances where "package"
was used instead of "distribution". And in a few instances paths were
joined by using a `/` in a string, which is incompatible with Windows.

Also move `runtests.py` from `scripts` to `tests`. This is required so that
we can import `utils`, but it's also arguably the better fit. The only
mention of the script is actually in the `tests/README.md` file.

Helps with #11762.
2024-05-05 16:28:37 +02:00