Skip to content

Commit

Permalink
add typing information
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mbolivar-nordic committed Feb 15, 2023
1 parent 37a4b7d commit d9f00e2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
@@ -1,2 +1,3 @@
include src/west/west-commands-schema.yml
include src/west/manifest-schema.yml
include src/west/py.typed
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -49,4 +49,5 @@
],
python_requires='>=3.8',
entry_points={'console_scripts': ('west = west.app.main:main',)},
zip_safe=False
)
Empty file added src/west/py.typed
Empty file.

0 comments on commit d9f00e2

Please sign in to comment.