-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Feature
Copy link
Labels
completionsBugs or features relating to autocomplete suggestionsBugs or features relating to autocomplete suggestions
Milestone
Description
I have a project with these dependencies:
[project]
name = "play"
version = "0.1.0"
description = "Add your description here"
requires-python = ">=3.13"
dependencies = [
"coverage>=7.13.1",
"matplotlib>=3.10.8",
"numpy>=2.4.0",
"pandas>=2.3.3",
"psutil>=7.2.1",
"pygame>=2.6.1",
"pyqt5>=5.15.11",
"regex>=2025.11.3",
"requests>=2.32.5",
"scikit-learn>=1.8.0",
"scipy>=1.16.3",
"whenever>=0.9.4",
]It is not uncommon for me to type something and see a flood of test functions from one of the dependencies. (I'll show a demo in a subsequent comment.) Unless we are in a context where we are writing tests, I don't think we ever want to see these.
The main challenge here is just figuring out what it means for:
- A symbol to be part of tests.
- To be writing tests.
We could look at how other completion systems work. And also look at what pytest does for test detection.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
completionsBugs or features relating to autocomplete suggestionsBugs or features relating to autocomplete suggestions