This repository has been archived by the owner on Jun 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a65c281
commit 4f1f2ec
Showing
3 changed files
with
127 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[mypy] | ||
python_version = 3.7 | ||
files = wemo/*.py | ||
|
||
# Disallow dynamic typing | ||
disallow_any_unimported = True | ||
disallow_any_expr = True | ||
disallow_any_decorated = True | ||
disallow_any_explicit = True | ||
disallow_any_generics = True | ||
disallow_subclassing_any = True | ||
|
||
# Untyped definitions and calls | ||
disallow_untyped_calls = True | ||
disallow_untyped_defs = True | ||
disallow_incomplete_defs = True | ||
check_untyped_defs = True | ||
disallow_untyped_decorators = True | ||
|
||
# None and Optional handling | ||
no_implicit_optional = True | ||
strict_optional = True | ||
|
||
# Configuring warnings | ||
warn_redundant_casts = True | ||
warn_unused_ignores = True | ||
warn_no_return = True | ||
warn_return_any = True | ||
warn_unreachable = True | ||
|
||
# Miscellaneous strictness flags | ||
allow_untyped_globals = False | ||
allow_redefinition = False | ||
implicit_reexport = True | ||
strict_equality = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
#!/usr/bin/env python3 | ||
from distutils.core import setup | ||
setup( | ||
name = 'wemo', | ||
packages = ['wemo'], | ||
version = '1.0.4', | ||
description = 'A Wemo API', | ||
author = 'Evan Young', | ||
url = 'https://github.com/DocCodes/wemo', | ||
download_url = 'https://github.com/DocCodes/wemo/archive/master.tar.gz', | ||
keywords = ['wemo', 'api', 'automation'], | ||
classifiers = [ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'Topic :: Home Automation', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
'Programming Language :: Python :: 3.6' | ||
], | ||
install_requires = [ | ||
'requests', | ||
'pytest' | ||
], | ||
python_requires = '~=3.6' | ||
name='wemo', | ||
packages=['wemo'], | ||
version='1.1.0', | ||
description='A Wemo API', | ||
author='Evan Elias Young', | ||
url='https://github.com/evaneliasyoung/wemo', | ||
download_url='https://github.com/evaneliasyoung/wemo/archive/master.tar.gz', | ||
keywords=['wemo', 'api', 'automation'], | ||
classifiers=[ | ||
'Development Status :: 5 - Production/Stable', | ||
'Intended Audience :: Developers', | ||
'Topic :: Home Automation', | ||
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | ||
'Programming Language :: Python :: 3.7' | ||
], | ||
install_requires=[ | ||
'requests', | ||
'pytest' | ||
], | ||
python_requires='~=3.7' | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters