Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-update pre-commit hooks #277

Merged
merged 2 commits into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Known webOS control buttons."""

BUTTONS = (
"LEFT",
"RIGHT",
Expand Down
1 change: 1 addition & 0 deletions aiowebostv/endpoints.py
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""webOS registration payload."""

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

import asyncio
import base64
import copy
Expand Down
1 change: 0 additions & 1 deletion bandit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ tests:
- B318
- B319
- B320
- B325
- B601
- B602
- B604
Expand Down
1 change: 1 addition & 0 deletions examples/basic.py
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Subscribed state updates example."""

import asyncio

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

from pathlib import Path

from setuptools import setup
Expand Down