Skip to content

Commit

Permalink
Add pydantic to requirements (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggravlingen authored Feb 12, 2022
1 parent 9380cc3 commit c9daaa1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ disallow_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
warn_unreachable = true
plugins = pydantic.mypy

[mypy-pytradfri.*]
check_untyped_defs = false
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
aiocoap==0.4.3
DTLSSocket==0.1.12

pydantic==1.9.0
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
DOWNLOAD_URL = f"{GITHUB_URL}/archive/{VERSION}.zip"

EXTRAS_REQUIRE = {"async": ["aiocoap==0.4.3", "DTLSSocket==0.1.12"]}

INSTALL_REQUIRES = ["pydantic"]
PACKAGES = find_packages(exclude=["tests", "tests.*"])

setup(
Expand All @@ -34,6 +34,7 @@
keywords="ikea tradfri api iot light homeautomation",
download_url=DOWNLOAD_URL,
extras_require=EXTRAS_REQUIRE,
install_requires=INSTALL_REQUIRES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down

0 comments on commit c9daaa1

Please sign in to comment.