-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (86 loc) · 1.99 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
86
87
88
89
90
91
92
93
94
95
[project]
name = "envidat-utils"
dynamic = ["version"]
description = "Utilities in Python for the WSL EnviDat project."
authors = [
{name = "Sam Woodcock", email = "[email protected]"},
{name = "Rebecca Kurup Buchholz", email = "[email protected]"},
]
dependencies = [
"requests>=2.27.1",
"boto3>=1.22.12",
"xmltodict>=0.13.0",
"validators>=0.20.0",
"jsonschema>=4.17.3",
]
requires-python = ">=3.9"
readme = "README.md"
license = {text = "MIT"}
keywords = ["envidat", "s3", "ckan", "wsl"]
classifiers = [
"Topic :: Utilities",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.10",
]
[project.urls]
homepage = "https://www.envidat.ch"
documentation = "https://envidat.gitlab-pages.wsl.ch/envidat-python-utils"
repository = "https://gitlabext.wsl.ch/EnviDat/envidat-python-utils.git"
[project.optional-dependencies]
dotenv = [
"python-dotenv>=1.0.0",
]
[tool.pdm]
includes = ["envidat"]
source-includes = ["tests", "CHANGELOG.md", "LICENSE", "README.md"]
version = {from = "envidat/__version__.py"}
[[tool.pdm.source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[tool.pdm.dev-dependencies]
dev = [
"python-dotenv>=1.0.0",
]
test = [
"pytest>=7.3.1",
"moto>=3.1.9",
]
doc = [
"mkdocs>=1.1",
"mkdocs-material>=7.3",
"mkgendocs>=0.9.0",
]
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.4.8"
version_files = [
"pyproject.toml:version",
"envidat/__version__.py"
]
[tool.pytest.ini_options]
addopts = "-ra -q"
testpaths = [
"tests",
]
[tool.ruff]
target-version = "py310"
line-length = 88
select = ["I", "E", "W", "D", "B", "F", "N", "Q"]
ignore = ["N805", "B008"]
exclude = [
".git",
".ruff_cache",
".vscode",
"__pypackages__",
"build",
"dist",
"secret",
"envidat/__version__.py",
]
[tool.ruff.pydocstyle]
convention = "google"