Skip to content

Commit d9f00e2

Browse files
committedFeb 15, 2023
add typing information
The west package contains type annotations, but mypy doesn't know about them because of a missing metadata file. This prevents us from type-checking calls into the west APIs, which we should be able to do. Add the necessary metadata to make this work. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
1 parent 37a4b7d commit d9f00e2

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed
 

‎MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
include src/west/west-commands-schema.yml
22
include src/west/manifest-schema.yml
3+
include src/west/py.typed

‎setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@
4949
],
5050
python_requires='>=3.8',
5151
entry_points={'console_scripts': ('west = west.app.main:main',)},
52+
zip_safe=False
5253
)

‎src/west/py.typed

Whitespace-only changes.

0 commit comments

Comments
 (0)
Please sign in to comment.