mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-17 21:53:57 +02:00
73 lines
1.5 KiB
TOML
73 lines
1.5 KiB
TOML
[tool.poetry]
|
|
name = "FindMy"
|
|
version = "v0.7.0"
|
|
description = "Everything you need to work with Apple's Find My network!"
|
|
authors = ["Mike Almeloo <git@mikealmel.ooo>"]
|
|
readme = "README.md"
|
|
packages = [{ include = "findmy" }]
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.9,<3.13"
|
|
srp = "^1.0.21"
|
|
cryptography = "^43.0.0"
|
|
beautifulsoup4 = "^4.12.3"
|
|
aiohttp = "^3.9.5"
|
|
bleak = "^0.22.2"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pre-commit = "^3.8.0"
|
|
sphinx = "^7.2.6"
|
|
sphinx-autoapi = "^3.2.1"
|
|
pyright = "^1.1.374"
|
|
ruff = "0.5.5"
|
|
|
|
[tool.pyright]
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
|
|
# rule overrides
|
|
typeCheckingMode = "standard"
|
|
reportImplicitOverride = true
|
|
|
|
[tool.ruff]
|
|
exclude = [
|
|
"docs/",
|
|
]
|
|
|
|
select = [
|
|
"ALL",
|
|
]
|
|
ignore = [
|
|
"ANN101", # annotations on `self`
|
|
"ANN102", # annotations on `cls`
|
|
"FIX002", # resolving TODOs
|
|
|
|
"D203", # one blank line before class docstring
|
|
"D212", # multi-line docstring start at first line
|
|
"D105", # docstrings in magic methods
|
|
|
|
"S101", # assert statements
|
|
"S603", # false-positive subprocess call (https://github.com/astral-sh/ruff/issues/4045)
|
|
|
|
"PLR2004", # "magic" values >.>
|
|
"FBT", # boolean "traps"
|
|
]
|
|
|
|
line-length = 100
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"examples/*" = [
|
|
"T201", # use of "print"
|
|
"S101", # use of "assert"
|
|
"D", # documentation
|
|
"INP001", # namespacing
|
|
]
|
|
"scripts/*" = [
|
|
"T201", # use of "print"
|
|
"D", # documentation
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|