Skip to content

Commit

Permalink
Bump linters and development dependencies (#136)
Browse files Browse the repository at this point in the history
* Bump linters

* Update development packages

* Adjust

* Adjust
  • Loading branch information
epenet authored Nov 25, 2024
1 parent 2a57249 commit a7b4d80
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ repos:
types: [python]
require_serial: true
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
rev: v3.1.0
hooks:
- id: prettier
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.26.3
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931
rev: v1.13.0
hooks:
- id: mypy
additional_dependencies: [types-requests==2.27.11]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ select = [
max-complexity = 18

[tool.mypy]
python_version = "3.6"
python_version = "3.8"
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
Expand Down
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ cryptography>=35.0.0
py3rijndael>=0.3.3

# dev
black>=22.1
mypy>=0.931
pre-commit>=2.17
pytest>=6.2.5
pytest-asyncio>=0.18.2
aioresponses>=0.7.3
black>=24.8
mypy>=1.13
pre-commit>=3.5
pytest>=8.3.3
pytest-asyncio>=0.24
aioresponses>=0.7.7
2 changes: 1 addition & 1 deletion samsungtvws/encrypted/authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ async def _acknowledge_exchange(self) -> str:
session_id = output.group(2)
LOGGER.info("Got sessionId: %s", session_id)

return session_id # type:ignore[no-any-return]
return session_id

async def _close_pin_page_on_tv(self) -> None:
url = self._get_full_url("ws/apps/CloudPINPage/run")
Expand Down

0 comments on commit a7b4d80

Please sign in to comment.