2022-06-20 12:16:55 +02:00
|
|
|
[tool.poetry]
|
|
|
|
name = "kanidm"
|
2022-08-17 13:35:06 +02:00
|
|
|
version = "0.0.3"
|
2022-06-20 12:16:55 +02:00
|
|
|
description = "Kanidm client library"
|
2022-08-17 13:35:06 +02:00
|
|
|
license = "MPL-2.0"
|
|
|
|
|
2022-06-20 12:16:55 +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/"
|
|
|
|
|
2022-06-20 12:16:55 +02:00
|
|
|
packages = [
|
2022-08-17 13:35:06 +02:00
|
|
|
{include = "kanidm"},
|
|
|
|
{include = "tests"},
|
|
|
|
]
|
|
|
|
|
|
|
|
keywords = [
|
|
|
|
"kanidm",
|
|
|
|
"idm",
|
|
|
|
"api",
|
2022-06-20 12:16:55 +02:00
|
|
|
]
|
|
|
|
classifiers=[
|
|
|
|
"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"
|
2022-08-15 06:45:52 +02:00
|
|
|
pydantic = "^1.9.2"
|
2022-06-20 12:16:55 +02:00
|
|
|
aiohttp = "^3.8.1"
|
2022-09-29 02:08:15 +02:00
|
|
|
Authlib = "^1.1.0"
|
2022-06-20 12:16:55 +02:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2022-10-23 23:56:59 +02:00
|
|
|
pylint = "^2.15.5"
|
2022-10-10 00:32:08 +02:00
|
|
|
mypy = "^0.982"
|
2022-10-30 23:00:00 +01:00
|
|
|
pytest = "^7.2.0"
|
2022-07-18 06:19:56 +02:00
|
|
|
types-toml = "^0.10.8"
|
2022-06-20 12:16:55 +02:00
|
|
|
pylint-pydantic = "^0.1.4"
|
2022-10-03 00:40:49 +02:00
|
|
|
coverage = "^6.5.0"
|
2022-06-20 12:16:55 +02:00
|
|
|
pylint-pytest = "^1.1.2"
|
2022-10-23 23:51:13 +02:00
|
|
|
pytest-asyncio = "^0.20.1"
|
2022-10-10 00:24:41 +02:00
|
|
|
pytest-mock = "^3.10.0"
|
2022-06-20 12:16:55 +02:00
|
|
|
pytest-aiohttp = "^1.0.4"
|
2022-10-09 22:29:58 +02:00
|
|
|
black = "^22.10.0"
|
2022-11-06 23:07:43 +01:00
|
|
|
mkdocs = "^1.4.2"
|
2022-11-07 00:14:55 +01:00
|
|
|
mkdocs-material = "^8.5.8"
|
2022-06-20 12:16:55 +02:00
|
|
|
mkdocstrings = "^0.19.0"
|
|
|
|
mkdocstrings-python = "^0.7.1"
|
2022-09-29 02:08:15 +02:00
|
|
|
pook = "^1.0.2"
|
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]
|
|
|
|
max-line-length=150
|
|
|
|
disable="W0511,raise-missing-from"
|
|
|
|
extension-pkg-whitelist="pydantic"
|
|
|
|
# https://github.com/samuelcolvin/pydantic/issues/1961#issuecomment-759522422
|
|
|
|
load-plugins="pylint_pydantic,pylint_pytest"
|
|
|
|
|
|
|
|
|
|
|
|
[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",
|
|
|
|
"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"]
|