-
Notifications
You must be signed in to change notification settings - Fork 34
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitytriage-neededverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
Add a setting to check only a subset of files in the workspace folder. The actual list of files is specified in the files mypy configuration.
We omit path argument to mypy, so that it uses files defined in the configuration.
How to manually verify the feature:
- Create a project with 2 python files:
foo.pyandbar.py, each containing typing error. - In the project root create a
pyproject.tomlwith the following contents:
[tool.mypy]
files = ["foo.py"]
- In the project configuration, set
mypy-type-checker.reportingScopetocustom. - Open
foo.py, it should have a typing error highlighted - Open
bar.py, it should NOT have typing errors highlighted
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitytriage-neededverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded