Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 1.97 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (76 loc) · 1.97 KB
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "heroku_applink"
version = "1.2.0"
description = "Simple SDK for Heroku AppLink and Salesforce development"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"aiohttp>=3.11.12",
"orjson>=3.10.15",
"yarl>=1.20.0",
]
[dependency-groups]
docs = ["pdoc3"]
[tool.hatch.build]
packages = ["heroku_applink", "heroku_applink.data_api"]
[project.urls]
Homepage = "https://github.com/heroku/heroku-applink-python"
Documentation = "https://github.com/heroku/heroku-applink-python"
Repository = "https://github.com/heroku/heroku-applink-python.git"
"Bug Tracker" = "https://github.com/heroku/heroku-applink-python/issues"
Changelog = "https://github.com/heroku/heroku-applink-python/CHANGELOG.md"
[project.optional-dependencies]
test = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
"ruff>=0.1.0",
"coverage>=7.0.0",
"aioresponses>=0.7.8",
# aioresponses#289: aiohttp 3.14 made ClientResponse's stream_writer kwarg
# required, which aioresponses does not pass. Cap until upstream fixes it.
"aiohttp<3.14",
"fastapi>=0.115.0",
"uvicorn>=0.34.0",
"httpx>=0.28.1",
"flask>=3.1.1",
]
dev = [
"tox>=4.0.0",
"tox-uv>=0.1.0",
"ruff>=0.1.0",
"pdoc3>=0.11.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "--cov=heroku_applink --cov-report=term-missing -v"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
line-length = 88
fix = true
[tool.ruff.lint]
select = ["E", "W", "F"]
ignore = ["E501"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py311, py312, py313, py314
skip_missing_interpreters = true
[testenv]
extras = test
setenv =
COVERAGE_FILE = .coverage.{envname}
commands_pre =
coverage erase
commands =
ruff check .
pytest
coverage report --fail-under=80 --show-missing
coverage erase
"""