-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (76 loc) · 2.04 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[project]
name = "ckanext-passwordless_api"
dynamic = ["version"]
description = "Extension to allow paswordless login to the CKAN API"
authors = [
{name = "Sam Woodcock", email = "[email protected]"},
]
dependencies = [
"requests>=2.25.1",
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "MIT"}
keywords = ["CKAN", "passwordless", "token", "auth"]
classifiers = [
"Topic :: Utilities",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
]
[project.entry-points."ckan.plugins"]
passwordless_api = "ckanext.passwordless_api.plugin:PasswordlessAPIPlugin"
[project.urls]
homepage = "https://gitlabext.wsl.ch/EnviDat/ckanext-passwordless_api.git"
documentation = "https://envidat.gitlab-pages.wsl.ch/ckanext-passwordless_api"
repository = "https://gitlabext.wsl.ch/EnviDat/ckanext-passwordless_api.git"
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.pdm]
includes = ["ckanext"]
source-includes = ["ckanext/passwordless_api/tests", "CHANGELOG.md"]
version = {from = "ckanext/passwordless_api/__version__.py"}
[[tool.pdm.source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[tool.pdm.dev-dependencies]
dev = [
"pytest-ckan>=0.0.12",
]
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.1.8"
version_files = [
"pyproject.toml:version",
"ckanext/passwordless_api/__version__.py",
"docs/openapi.yaml:version",
]
[tool.isort]
profile = "black"
atomic = true
known_first_party = ["ckanext"]
[tool.ruff]
target-version = "py38"
line-length = 88
select = ["I", "E", "W", "D", "B", "F", "N", "Q"]
exclude = [
".git",
".ruff_cache",
".vscode",
"__pypackages__",
"build",
"dist",
"migrations",
"ckanext/passwordless_api/__version__.py",
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
addopts = "-ra -q"
testpaths = [
"tests",
]