-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
84 lines (75 loc) · 2.01 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
[project]
name = "ckanext-restricted_api"
dynamic = ["version"]
description = "Extension to allow dataset restriction via CKAN API."
authors = [
{name = "Sam Woodcock", email = "[email protected]"},
]
dependencies = [
]
requires-python = ">=3.8"
readme = "README.md"
license = {text = "MIT"}
keywords = ["CKAN", "restricted", "access", "authorization", "envidat"]
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"]
restricted_api = "ckanext.restricted_api.plugin:RestrictedAPIPlugin"
[project.urls]
homepage = "https://gitlabext.wsl.ch/EnviDat/ckanext-restricted_api.git"
documentation = "https://envidat.gitlab-pages.wsl.ch/ckanext-restricted_api"
repository = "https://gitlabext.wsl.ch/EnviDat/ckanext-restricted_api.git"
[build-system]
requires = ["pdm-pep517>=1.0.0"]
build-backend = "pdm.pep517.api"
[tool.pdm]
includes = ["ckanext"]
source-includes = ["ckanext/restricted_api/tests", "CHANGELOG.md"]
version = {from = "ckanext/restricted_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 = "2.0.6"
version_files = [
"pyproject.toml:version",
"ckanext/restricted_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/restricted_api/__version__.py",
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
addopts = "-ra -q"
testpaths = [
"tests",
]