Skip to content

Commit

Permalink
build(mypy): fix mypy run configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Nov 27, 2020
1 parent 60432ec commit 08adfe0
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ max-line-length = 88

[mypy]
python_version = 3.6
namespace_packages = True
no_implicit_optional = True

[tool:pytest]
Expand Down
Empty file added tests/integ_tests/__init__.py
Empty file.
2 changes: 2 additions & 0 deletions tests/integ_tests/integ_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ async def test_integ_configs(

config = read_config_yaml(config_file)
controller = get_controller(config["module"], config["class"])
if controller is None:
raise ValueError(f"`{config['class']}` class controller does not exist")
controller.args = config

fake_entity_states = get_fake_entity_states(entity_state, entity_state_attributes)
Expand Down
Empty file.
Empty file.
Empty file.

0 comments on commit 08adfe0

Please sign in to comment.