2022-06-20 12:16:55 +02:00
|
|
|
[tool.poetry]
|
|
|
|
name = "kanidm"
|
2024-01-31 04:27:43 +01:00
|
|
|
version = "1.0.0"
|
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
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2024-04-28 23:19:45 +02:00
|
|
|
mypy = "^1.10"
|
|
|
|
pytest = "^8.2.0"
|
2022-07-18 06:19:56 +02:00
|
|
|
types-toml = "^0.10.8"
|
2023-12-25 07:50:11 +01:00
|
|
|
pylint-pydantic = "^0.3.2"
|
2024-05-07 02:09:53 +02:00
|
|
|
coverage = "^7.5.1"
|
2023-12-11 01:43:29 +01:00
|
|
|
pylint-pytest = "^1.1.7"
|
2024-03-25 01:01:55 +01:00
|
|
|
pytest-asyncio = "^0.23.6"
|
|
|
|
pytest-mock = "^3.14.0"
|
2023-09-11 01:20:23 +02:00
|
|
|
pytest-aiohttp = "^1.0.5"
|
2024-04-28 23:19:45 +02:00
|
|
|
black = "^24.4.2"
|
2023-09-25 00:37:38 +02:00
|
|
|
mkdocs = "^1.5.3"
|
2024-04-21 23:25:52 +02:00
|
|
|
mkdocs-material = "^9.5.18"
|
2024-05-07 02:09:53 +02:00
|
|
|
mkdocstrings = "^0.25.1"
|
2024-04-21 23:25:52 +02:00
|
|
|
mkdocstrings-python = "^1.10.0"
|
2024-02-26 00:00:14 +01:00
|
|
|
pook = "^1.4.3"
|
2022-06-20 12:16:55 +02:00
|
|
|
|
2023-01-23 10:56:49 +01:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2024-05-12 23:57:44 +02:00
|
|
|
ruff = ">=0.0.230,<0.4.5"
|
2023-01-23 10:56:49 +01:00
|
|
|
|
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"
|