-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (53 loc) · 1.39 KB
/
pyproject.toml
File metadata and controls
62 lines (53 loc) · 1.39 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
[project]
name = "openfaas-sdk"
version = "0.1.0"
description = "The official Python SDK for OpenFaaS"
readme = "README.md"
license = "MIT"
authors = [
{ name = "OpenFaaS Ltd", email = "support@openfaas.com" },
]
requires-python = ">= 3.10"
classifiers = [
"Typing :: Typed",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"requests>=2.20.0, <3",
"pydantic>=2.0.0, <3",
]
[project.urls]
Homepage = "https://openfaas.com"
Repository = "https://github.com/openfaas/python-sdk"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["openfaas_sdk"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.pyright]
typeCheckingMode = "strict"
pythonVersion = "3.10"
include = ["openfaas_sdk"]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = ["I", "B", "F401", "E722", "T201"]
[tool.ruff.lint.per-file-ignores]
"examples/**" = ["T201"]
[dependency-groups]
dev = [
"pyright>=1.1.408",
"pytest>=9.0.3",
"requests-mock>=1.12.1",
"ruff>=0.15.11",
]