LU XIANGRUI та wildcatDownstairs
1880ac541c
fix(python): fixture usages and rename follow pytest's files and Python's names ( #6655 )
...
Follow-up to #6520 . Find Usages, Go to Declaration and Rename of a pytest fixture now search where pytest would look: the defining test module, the test files below a conftest.py, or the project's test files for a plugin or pytest_plugins module, with test files taken from python_files in the configuration file pytest reads. A fixture imported into a conftest or test module is that module's own. Rename merges the language server's rename of the fixture function, refuses names that clash with a parameter or body name, an override or another fixture in scope, and invalid identifiers, and reads of a parameter skip nested scopes that rebind it.
Co-authored-by: wildcatDownstairs <[email protected] >
2026-11-28 14:58:10 +08:00
..
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 07:09:15 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-25 19:27:09 +08:00
2026-11-27 17:06:51 +08:00
2026-11-25 02:01:59 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:29:59 +08:00
2026-11-27 04:02:19 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 02:34:33 +08:00
2026-11-24 07:02:21 +08:00
2026-11-26 21:39:53 +08:00
2026-11-26 21:52:50 +08:00
2026-11-27 15:26:29 +08:00
2026-11-26 19:31:03 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 02:24:34 +08:00
2026-11-24 07:02:21 +08:00
2026-11-17 19:10:13 +08:00
2026-11-24 07:02:21 +08:00
2026-11-18 09:20:09 +08:00
2026-11-12 13:18:36 +08:00
2026-11-24 23:04:40 +08:00
2026-11-26 22:34:41 +08:00
2026-11-11 02:05:41 +08:00
2026-11-24 07:02:21 +08:00
2026-11-07 15:29:16 +08:00
2026-11-17 01:27:54 +08:00
2026-11-07 19:25:10 +08:00
2026-11-27 16:21:12 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 16:21:12 +08:00
2026-11-07 04:30:30 +08:00
2026-11-24 07:02:21 +08:00
2026-11-08 03:15:08 +08:00
2026-11-26 23:33:04 +08:00
2026-11-27 06:06:41 +08:00
2026-11-27 15:29:03 +08:00
2026-11-24 20:29:25 +08:00
2026-11-25 00:45:06 +08:00
2026-11-24 07:02:21 +08:00
2026-11-28 14:58:10 +08:00
2026-11-26 18:00:44 +08:00
2026-11-17 19:10:13 +08:00
2026-11-24 11:42:00 +08:00
2026-11-27 22:36:22 +08:00
2026-11-27 23:34:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 09:51:49 +08:00
2026-11-24 06:01:01 +08:00
2026-11-25 19:27:09 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 11:42:00 +08:00
2026-11-24 07:02:21 +08:00
2026-11-27 02:34:33 +08:00
2026-11-25 19:27:09 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-25 08:46:36 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 15:36:45 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-24 07:02:21 +08:00
2026-11-25 20:01:26 +08:00