-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
100 lines (91 loc) · 2.33 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
96
97
98
99
100
[project]
name = "osm-login-python"
version = "2.0.0"
dynamic = ["version"]
description = "Package to manage OAuth 2.0 login for OSM in Python."
readme = "README.md"
authors = [
{name = "Kshitij Raj Sharma", email = "[email protected]"},
{name = "Sam Woodcock", email = "[email protected]"},
]
license = {text = "GPL-3.0-only"}
requires-python = ">=3.9"
dependencies = [
"itsdangerous>=2.0.0",
"pydantic>=2.0.0",
"requests-oauthlib>=1.3.0",
]
keywords = ["osm", "openstreetmap", "oauth2", "login", "hot"]
classifiers = [
"Topic :: Utilities",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.urls]
homepage = "https://hotosm.github.io/osm-login-python"
documentation = "https://hotosm.github.io/osm-login-python"
repository = "https://github.com/hotosm/osm-login-python"
[project.optional-dependencies]
test = [
"pytest>=7.4.2",
"pytest-mock>=3.14.0",
"coverage>=7.6.1",
"coverage-badge>=1.1.2",
]
docs = [
"mkdocs>=1.5.3",
"mkdocs-material>=9.4.2",
"mkdocstrings-python>=1.7.0",
"mkdocs-exclude>=1.0.2",
]
[build-system]
requires = ["pdm-pep517>=1.1.4"]
build-backend = "pdm.pep517.api"
[tool.pytest.ini_options]
addopts = "-ra -q -p no:warnings"
testpaths = [
"tests",
]
pythonpath = "osm_login_python"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "semver"
version_provider = "pep621"
update_changelog_on_bump = true
version_files = [
"pyproject.toml:version",
"osm_login_python/__version__.py",
]
[tool.pdm]
version = {from = "osm_login_python/__version__.py"}
[tool.pdm.build]
includes = ["osm_login_python"]
source-includes = ["tests", "LICENSE", "README.md"]
[tool.black]
line-length = 132
target-versions = ["py39", "py310", "py311"]
[tool.ruff]
fix = true
line-length = 132
target-version = "py39"
exclude = [
".git",
".ruff_cache",
".vscode",
"__pypackages__",
"build",
"dist",
"osm_login_python/__version__.py",
]
[tool.ruff.lint]
select = ["I", "E", "W", "D", "B", "F", "N", "Q"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.coverage.run]
source = ["osm_login_python"]
[tool.coverage.report]
show_missing = true