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]
|
2023-06-26 13:42:38 +02:00
|
|
|
mypy = "^1.4"
|
2023-06-12 00:48:03 +02:00
|
|
|
pytest = "^7.3.2"
|
2022-07-18 06:19:56 +02:00
|
|
|
types-toml = "^0.10.8"
|
2023-03-21 08:40:10 +01:00
|
|
|
pylint-pydantic = "^0.1.8"
|
2023-06-05 13:56:29 +02:00
|
|
|
coverage = "^7.2.7"
|
2022-06-20 12:16:55 +02:00
|
|
|
pylint-pytest = "^1.1.2"
|
2023-03-20 04:34:12 +01:00
|
|
|
pytest-asyncio = "^0.21.0"
|
2023-06-18 23:12:21 +02:00
|
|
|
pytest-mock = "^3.11.1"
|
2022-06-20 12:16:55 +02:00
|
|
|
pytest-aiohttp = "^1.0.4"
|
2023-04-03 14:46:10 +02:00
|
|
|
black = "^23.3.0"
|
2023-05-07 22:58:00 +02:00
|
|
|
mkdocs = "^1.4.3"
|
2023-06-18 23:43:21 +02:00
|
|
|
mkdocs-material = "^9.1.16"
|
2023-05-29 01:12:23 +02:00
|
|
|
mkdocstrings = "^0.22.0"
|
2023-06-05 14:14:53 +02:00
|
|
|
mkdocstrings-python = "^1.1.2"
|
2023-01-15 23:48:35 +01:00
|
|
|
pook = "^1.1.1"
|
2022-06-20 12:16:55 +02:00
|
|
|
|
2023-01-23 10:56:49 +01:00
|
|
|
[tool.poetry.group.dev.dependencies]
|
2023-06-25 22:58:20 +02:00
|
|
|
ruff = ">=0.0.230,<0.0.276"
|
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]
|
|
|
|
max-line-length=150
|
|
|
|
disable="W0511,raise-missing-from"
|
2023-04-18 13:35:40 +02:00
|
|
|
extension-pkg-allow-list="pydantic"
|
2022-06-20 12:16:55 +02:00
|
|
|
# https://github.com/samuelcolvin/pydantic/issues/1961#issuecomment-759522422
|
|
|
|
load-plugins="pylint_pydantic,pylint_pytest"
|
|
|
|
|
2023-01-23 10:56:49 +01:00
|
|
|
[tool.ruff]
|
|
|
|
line-length = 150
|
|
|
|
|
|
|
|
[tool.ruff.per-file-ignores]
|
|
|
|
"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",
|
|
|
|
"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"
|