Skip to content

Commit

Permalink
Merge pull request #6 from hostcc/feature/online-sensor
Browse files Browse the repository at this point in the history
Online sensor support
  • Loading branch information
hostcc authored Aug 20, 2022
2 parents 191ac36 + 50bb19c commit f048791
Show file tree
Hide file tree
Showing 11 changed files with 833 additions and 202 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ Configuration file is in YAML format and supports following elements:
# (string) Password to meter for administrative session, manufacturer's
# default is '777777'
password:
# (number) default ``30``: Timeout for meter communications
timeout:
# MQTT parameters
mqtt:
# (string) Hostname or IP address of MQTT broker
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ pythonpath = [
]
log_cli = 1
log_cli_level = "error"

[tool.pylint.main]
load-plugins = "pylint.extensions.no_self_use"

[tool.pylint.typecheck]
signature-mutators = [
# Ignore mutations (number of function arguments) introduced by
# `patch.object` decorator of `unittest.mock`
"unittest.mock._patch_object"
]
Loading

0 comments on commit f048791

Please sign in to comment.