Update docstrings (#7374)
* Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstrings * Update docstring * Update docstrings * Update docstrings * Fix lint issues * Update docstrings * Revert changes in dict
This commit is contained in:
parent
0e08925259
commit
a4f1f6e724
340 changed files with 1533 additions and 1708 deletions
|
@ -47,7 +47,7 @@ def print_progress(iteration: int, total: int, prefix: str='', suffix: str='',
|
|||
|
||||
|
||||
def run(script_args: List) -> int:
|
||||
"""The actual script body."""
|
||||
"""Run the actual script."""
|
||||
# pylint: disable=invalid-name
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import sessionmaker
|
||||
|
|
|
@ -9,7 +9,7 @@ import homeassistant.config as config_util
|
|||
|
||||
|
||||
def run(script_args: List) -> int:
|
||||
"""The actual script body."""
|
||||
"""Run the actual script."""
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import sessionmaker
|
||||
from influxdb import InfluxDBClient
|
||||
|
|
|
@ -32,7 +32,7 @@ def print_progress(iteration: int, total: int, prefix: str='', suffix: str='',
|
|||
|
||||
|
||||
def run(script_args: List) -> int:
|
||||
"""The actual script body."""
|
||||
"""Run the actual script."""
|
||||
from influxdb import InfluxDBClient
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
|
|
|
@ -4,7 +4,7 @@ import time
|
|||
|
||||
|
||||
def install_osx():
|
||||
"""Setup to run via launchd on OS X."""
|
||||
"""Set up to run via launchd on OS X."""
|
||||
with os.popen('which hass') as inp:
|
||||
hass_path = inp.read().strip()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue