2022-06-20 12:16:55 +02:00
|
|
|
[tool.poetry]
|
|
|
|
name = "kanidm"
|
2025-02-04 10:30:25 +01:00
|
|
|
version = "1.0.1"
|
2022-06-20 12:16:55 +02:00
|
|
|
description = "Kanidm client library"
|
2022-08-17 13:35:06 +02:00
|
|
|
license = "MPL-2.0"
|
|
|
|
|
2023-08-23 05:55:08 +02:00
|
|
|
authors = ["James Hodgkinson <james@terminaloutcomes.com>"]
|
2022-08-17 13:35:06 +02:00
|
|
|
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/kanidm/kanidm"
|
|
|
|
homepage = "https://kanidm.com/"
|
|
|
|
|
2023-08-23 05:55:08 +02:00
|
|
|
packages = [{ include = "kanidm" }]
|
2022-08-17 13:35:06 +02:00
|
|
|
|
2023-08-23 05:55:08 +02:00
|
|
|
keywords = ["kanidm", "idm", "api"]
|
|
|
|
classifiers = [
|
2022-06-20 12:16:55 +02:00
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
]
|
|
|
|
[tool.poetry.dependencies]
|
2022-09-29 02:08:15 +02:00
|
|
|
python = "^3.9"
|
2022-06-20 12:16:55 +02:00
|
|
|
toml = "^0.10.2"
|
2023-08-23 05:55:08 +02:00
|
|
|
pydantic = ">=2.0.0,<3.0.0"
|
2022-06-20 12:16:55 +02:00
|
|
|
aiohttp = "^3.8.1"
|
2023-08-23 05:55:08 +02:00
|
|
|
Authlib = "^1.2.0"
|
2022-06-20 12:16:55 +02:00
|
|
|
|
2025-02-04 10:30:25 +01:00
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
|
|
ruff = ">=0.5.1,<0.9.5"
|
2024-12-01 23:20:14 +01:00
|
|
|
pytest = "^8.3.4"
|
2025-02-04 10:30:25 +01:00
|
|
|
mypy = "^1.14.1"
|
|
|
|
types-requests = "^2.32.0.20241016"
|
|
|
|
pytest-aiohttp = "^1.1.0"
|
|
|
|
pytest-mock = "^3.14.0"
|
|
|
|
types-toml = "^0.10.8.20240310"
|
2025-01-12 22:15:39 +01:00
|
|
|
pylint-pydantic = "^0.3.5"
|
2024-12-29 23:18:58 +01:00
|
|
|
coverage = "^7.6.10"
|
2025-02-04 10:30:25 +01:00
|
|
|
mkdocs = "^1.6.1"
|
2025-02-02 23:05:30 +01:00
|
|
|
mkdocs-material = "^9.6.1"
|
2024-11-25 11:33:18 +01:00
|
|
|
mkdocstrings = "^0.27.0"
|
2024-12-29 23:18:58 +01:00
|
|
|
mkdocstrings-python = "^1.13.0"
|
2024-12-23 01:02:30 +01:00
|
|
|
pook = "^2.1.3"
|
2022-06-20 12:16:55 +02:00
|
|
|
|
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
[tool.pylint.MASTER]
|
2023-08-23 05:55:08 +02:00
|
|
|
max-line-length = 150
|
|
|
|
disable = "W0511,raise-missing-from"
|
|
|
|
extension-pkg-allow-list = "pydantic"
|
2022-06-20 12:16:55 +02:00
|
|
|
# https://github.com/samuelcolvin/pydantic/issues/1961#issuecomment-759522422
|
2023-08-23 05:55:08 +02:00
|
|
|
load-plugins = "pylint_pydantic,pylint_pytest"
|
2022-06-20 12:16:55 +02:00
|
|
|
|
2023-01-23 10:56:49 +01:00
|
|
|
[tool.ruff]
|
|
|
|
line-length = 150
|
|
|
|
|
2024-02-26 04:33:32 +01:00
|
|
|
[tool.ruff.lint.per-file-ignores]
|
2023-01-23 10:56:49 +01:00
|
|
|
"tests/*.py" = [
|
|
|
|
"F401", # unused import, reused fixtures across all tests
|
|
|
|
"F811", # pytest fixtures
|
|
|
|
]
|
|
|
|
|
2022-06-20 12:16:55 +02:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
asyncio_mode = "auto"
|
2022-08-17 01:26:11 +02:00
|
|
|
markers = [
|
2022-09-29 02:08:15 +02:00
|
|
|
"network: Tests that require network access and a working backend server",
|
2023-08-23 05:55:08 +02:00
|
|
|
"interactive: Requires specific config and a working backend server",
|
2022-08-17 01:26:11 +02:00
|
|
|
]
|
2022-06-20 12:16:55 +02:00
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
source = ["kanidm"]
|
|
|
|
omit = ["tests"]
|
2023-04-18 13:35:40 +02:00
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
plugins = "pydantic.mypy"
|