-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
pyproject.toml
89 lines (78 loc) · 2 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
[tool.ruff]
target-version = "py39"
[tool.ruff.lint]
extend-select = ["I", "TRY", "UP"]
ignore = ["E501"]
[tool.pytest.ini_options]
addopts = "--cov=httpx_oauth/ --cov-report=term-missing --cov-fail-under=100"
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"
[tool.hatch]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.version]
source = "regex_commit"
commit_extra_args = ["-e"]
path = "httpx_oauth/__init__.py"
[tool.hatch.envs.default]
installer = "uv"
dependencies = [
"pytest",
"ruff",
"mkdocs",
"mkdocs-material",
"mypy",
"pytest-cov",
"pytest-mock",
"mkdocstrings[python]",
"griffe-inherited-docstrings",
"pytest-asyncio",
"respx",
"fastapi",
]
[tool.hatch.envs.default.scripts]
test = "pytest"
test-cov-xml = "pytest --cov-report=xml"
lint = [
"ruff format .",
"ruff check --fix .",
"mypy httpx_oauth/",
]
lint-check = [
"ruff format --check .",
"ruff check .",
"mypy httpx_oauth/",
]
docs = "mkdocs serve"
[tool.hatch.build.targets.sdist]
support-legacy = true # Create setup.py
[build-system]
requires = ["hatchling", "hatch-regex-commit"]
build-backend = "hatchling.build"
[project]
name = "httpx-oauth"
authors = [
{ name = "François Voron", email = "[email protected]" }
]
description = "Async OAuth client using HTTPX"
readme = "README.md"
dynamic = ["version"]
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
]
requires-python = ">=3.9"
dependencies = [
"httpx >=0.18"
]
[project.urls]
Documentation = "https://frankie567.github.io/httpx-oauth/"
Source = "https://github.com/frankie567/httpx-oauth"