Skip to content

Commit

Permalink
Auto-update pre-commit hooks (#277)
Browse files Browse the repository at this point in the history
* Auto-update pre-commit hooks

* Run updated black on all files

---------

Co-authored-by: thecode <thecode@users.noreply.github.com>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
  • Loading branch information
3 people committed Feb 3, 2024
1 parent b4cd5bc commit 6d39508
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Expand Up @@ -17,7 +17,7 @@ repos:
- --max-complexity=18
- --select=B,C,E,F,W,T4,B9
- repo: https://github.com/ambv/black
rev: 23.12.1
rev: 24.1.1
hooks:
- id: black
language_version: python3
Expand Down Expand Up @@ -53,7 +53,7 @@ repos:
- --quiet-level=2
exclude_types: [csv, json]
- repo: https://github.com/PyCQA/bandit
rev: 1.7.6
rev: 1.7.7
hooks:
- id: bandit
args:
Expand Down
1 change: 1 addition & 0 deletions aiowebostv/__init__.py
@@ -1,4 +1,5 @@
"""Provide a package for controlling LG webOS based TVs."""

from .exceptions import WebOsTvCommandError, WebOsTvPairError
from .webos_client import WebOsClient

Expand Down
1 change: 1 addition & 0 deletions aiowebostv/buttons.py
@@ -1,4 +1,5 @@
"""Known webOS control buttons."""

BUTTONS = (
"LEFT",
"RIGHT",
Expand Down
1 change: 1 addition & 0 deletions aiowebostv/endpoints.py
@@ -1,4 +1,5 @@
"""webOS TV public SSAP API endpoints."""

GET_SERVICES = "api/getServiceList"
SET_MUTE = "audio/setMute"
GET_AUDIO_STATUS = "audio/getStatus"
Expand Down
1 change: 1 addition & 0 deletions aiowebostv/handshake.py
@@ -1,4 +1,5 @@
"""webOS registration payload."""

SIGNATURE = (
"eyJhbGdvcml0aG0iOiJSU0EtU0hBMjU2Iiwia2V5SWQiOiJ0ZXN0LXNpZ25pbm"
"ctY2VydCIsInNpZ25hdHVyZVZlcnNpb24iOjF9.hrVRgjCwXVvE2OOSpDZ58hR"
Expand Down
1 change: 1 addition & 0 deletions aiowebostv/webos_client.py
@@ -1,4 +1,5 @@
"""Provide a websockets client for controlling LG webOS based TVs."""

import asyncio
import base64
import copy
Expand Down
1 change: 1 addition & 0 deletions examples/basic.py
@@ -1,4 +1,5 @@
"""Basic webOS client example."""

import asyncio

from aiowebostv import WebOsClient
Expand Down
1 change: 1 addition & 0 deletions examples/reconnect.py
@@ -1,4 +1,5 @@
"""Silent connect/reconnect example."""

import asyncio
from contextlib import suppress
from datetime import datetime
Expand Down
1 change: 1 addition & 0 deletions examples/state_updates.py
@@ -1,4 +1,5 @@
"""Subscribed state updates example."""

import asyncio

from aiowebostv import WebOsClient
Expand Down
1 change: 1 addition & 0 deletions setup.py
@@ -1,4 +1,5 @@
"""Setup module for aiowebostv."""

from pathlib import Path

from setuptools import setup
Expand Down

0 comments on commit 6d39508

Please sign in to comment.