Skip to content

Commit 6907fa5

Browse files
authored
Add py.typed (#11865)
1 parent 546461b commit 6907fa5

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

public/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
from pathlib import Path
33

44

5-
def where():
5+
def where() -> Path:
66
"""Return path to the frontend."""
77
return Path(__file__).parent

public/py.typed

Whitespace-only changes.

setup.cfg

+5
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ python_requires = >= 3.4.0
1919
[options.packages.find]
2020
include =
2121
hass_frontend*
22+
23+
[mypy]
24+
python_version = 3.4
25+
show_error_codes = True
26+
strict = True

0 commit comments

Comments
 (0)