Skip to content

Commit

Permalink
chore: add a py.typed file (#1536)
Browse files Browse the repository at this point in the history
Add a py.typed to the root directory of the package to allow mypy to use type hints when importing
ansiblelint.
  • Loading branch information
h-hirokawa committed Apr 22, 2021
1 parent fd4b54a commit 83cb495
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.cfg
Expand Up @@ -107,5 +107,8 @@ yamllint =
[options.packages.find]
where = src

[options.package_data]
ansiblelint = py.typed

[codespell]
skip = .tox,.mypy_cache,build,.git,.eggs,pip-wheel-metadata
Empty file added src/ansiblelint/py.typed
Empty file.

0 comments on commit 83cb495

Please sign in to comment.