-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (75 loc) · 1.95 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (75 loc) · 1.95 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 = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "heycafe"
version = "0.1.0"
description = "Python SDK for the Hey.Café Social Media Platform REST API"
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.9"
authors = [{ name = "Hey.Café SDK" }]
keywords = ["heycafe", "social", "api", "rest"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet",
]
dependencies = [
"requests>=2.28.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov>=4.0",
"responses>=0.23.0",
]
quality = [
"ruff>=0.4.0",
"mypy>=1.0.0",
"types-requests>=2.28.0",
]
publish = [
"build>=1.0.0",
"twine>=5.0.0",
]
[project.urls]
Documentation = "https://endpoint.hey.cafe"
Homepage = "https://hey.cafe"
[tool.setuptools.packages.find]
where = ["."]
include = ["heycafe*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
addopts = "-v --tb=short"
markers = [
"integration: marks tests as integration (call real Hey.Café API) (deselect with '-m \"not integration\"')",
]
[tool.coverage.run]
source = ["heycafe"]
branch = true
[tool.coverage.report]
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
[tool.ruff]
line-length = 100
target-version = "py39"
exclude = ["tests", "scripts", "heycafe/client.py"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = false
ignore_missing_imports = true
exclude = ["tests/"]
[tool.bandit]
exclude_dirs = ["tests", ".venv", "venv"]
skips = ["B101"]