Skip to content

Commit

Permalink
Upgrade dependencies (#65)
Browse files Browse the repository at this point in the history
* Drop `universal-silabs-flasher` dependency

* Drop `pyserial-asyncio` dependency

* Unpin `pyserial-asyncio-fast`

* Bump `setuptools-git-versioning` to 3

* Bump package dependencies

* Upgrade pre-commit dependencies

* `zigpy-xbee==0.20.1` does not exist
  • Loading branch information
puddly authored Jul 7, 2024
1 parent 101cbe6 commit e905202
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
repos:
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies: [tomli]
args: ["--toml", "pyproject.toml"]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.9.0
rev: v1.10.1
hooks:
- id: mypy

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.4
rev: v0.5.1
hooks:
- id: ruff
args: [--fix]
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=61.0.0", "wheel", "setuptools-git-versioning<2"]
requires = ["setuptools>=61.0.0", "wheel", "setuptools-git-versioning<3"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -16,15 +16,13 @@ requires-python = ">=3.12"
dependencies = [
"zigpy==0.64.1",
"bellows==0.39.1",
"zigpy-znp==0.12.1",
"zigpy-deconz==0.23.1",
"zigpy-znp==0.12.2",
"zigpy-deconz==0.23.2",
"zigpy-xbee==0.20.1",
"zigpy-zigate==0.12.0",
"zha-quirks==0.0.116",
"universal-silabs-flasher==0.0.20",
"zha-quirks==0.0.117",
"pyserial==3.5",
"pyserial-asyncio==0.6",
"pyserial-asyncio-fast==0.11",
"pyserial-asyncio-fast",
]

[tool.setuptools.packages.find]
Expand All @@ -39,7 +37,7 @@ testing = [
enabled = true

[tool.codespell]
ignore-words-list = "hass"
ignore-words-list = "hass, checkin"

[tool.mypy]
python_version = "3.12"
Expand Down Expand Up @@ -207,6 +205,8 @@ ignore = [
"TRY003",
"TRY201",
"TRY300",

"SIM103", # Return the condition {condition} directly
]

[tool.ruff.lint.flake8-pytest-style]
Expand Down

0 comments on commit e905202

Please sign in to comment.