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-02-13 15:05:50 +01:00
|
|
|
mypy = "^1.0"
|
2023-03-06 03:41:45 +01:00
|
|
|
pytest = "^7.2.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-03-21 07:44:35 +01:00
|
|
|
coverage = "^7.2.2"
|
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"
|
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"
|
2023-04-03 14:46:10 +02:00
|
|
|
black = "^23.3.0"
|
2022-11-06 23:07:43 +01:00
|
|
|
mkdocs = "^1.4.2"
|
2023-04-03 17:51:11 +02:00
|
|
|
mkdocs-material = "^9.1.5"
|
2023-01-24 00:39:00 +01:00
|
|
|
mkdocstrings = "^0.20.0"
|
2023-01-09 00:04:17 +01:00
|
|
|
mkdocstrings-python = "^0.8.3"
|
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-03-28 01:14:17 +02:00
|
|
|
ruff = ">=0.0.230,<0.0.260"
|
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"
|
|
|
|
extension-pkg-whitelist="pydantic"
|
|
|
|
# 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"]
|