colmi_r02_client/pyproject.toml

82 lines
1.7 KiB
TOML
Raw Permalink Normal View History

2024-08-13 16:51:55 +00:00
[tool.poetry]
name = "colmi-r02-client"
version = "0.1.0"
description = "Connect to Colmi R02 smart ring over BLE"
authors = ["Wesley Ellis <tahnok@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
2024-10-27 19:17:05 +00:00
python = ">=3.11,<3.14"
2024-08-13 16:51:55 +00:00
bleak = "^0.22.2"
asyncclick = "^8.1.7.2"
sqlalchemy = "^2.0.36"
2024-08-13 16:51:55 +00:00
2024-08-13 17:01:37 +00:00
[tool.poetry.scripts]
colmi_r02_client = "colmi_r02_client.cli:cli_client"
colmi_r02_util = "colmi_r02_client.cli:util"
2024-08-13 17:01:37 +00:00
2024-08-13 16:51:55 +00:00
2024-08-13 17:07:08 +00:00
[tool.poetry.group.dev.dependencies]
pytest = "^8.3.2"
2024-08-15 19:31:13 +00:00
ruff = "^0.6.0"
2024-08-15 19:46:18 +00:00
mypy = "^1.11.1"
freezegun = "^1.5.1"
2024-09-12 21:01:58 +00:00
hypothesis = "^6.112.0"
pytest-asyncio = "^0.24.0"
2024-08-13 17:07:08 +00:00
2024-09-07 17:33:05 +00:00
[tool.poetry.group.doc.dependencies]
pdoc = "^14.6.1"
2024-09-25 20:11:21 +00:00
[tool.poetry.group.nvim-lsp.dependencies]
pyright = "^1.1.382.post0"
2024-08-13 16:51:55 +00:00
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
2024-09-02 16:59:01 +00:00
[tool.mypy]
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
warn_no_return = true
warn_redundant_casts = true
strict_equality = true
disallow_incomplete_defs = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
2024-09-02 16:59:01 +00:00
[tool.ruff]
line-length = 125
[tool.ruff.lint]
select = [
"ASYNC", # flake8-async
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"DJ", # flake8-django
"E", # pycodestyle
"F", # Pyflakes
"FLY", # flynt
"INT", # flake8-gettext
"NPY", # NumPy-specific rules
"PD", # pandas-vet
"PIE", # flake8-pie
"PLE", # Pylint errors
"RET504", # flake8-return
"RSE", # flake8-raise
"SIM", # flake8-simplify
"T10", # flake8-debugger
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
"RUF", # Ruff-specific rules
]
2025-01-04 03:29:42 +00:00
ignore = [
"SIM108",
]