forked from NiklasRosenstein/python-github-bot-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (68 loc) · 1.97 KB
/
pyproject.toml
File metadata and controls
75 lines (68 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
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
authors = [
]
license = {text = "MIT"}
requires-python = "<4.0,>=3.10"
dependencies = [
"cryptography<44.0.1,>=44.0.0",
"pygithub>=2.5.0",
"PyJWT<3.0.0,>=2.6.0",
"requests<3.0.0,>=2.28.2",
"urllib3<2.6.4,>=2.6.3",
]
name = "github-bot-api"
version = "0.7.0"
description = "API for creating GitHub bots and webhooks in Python."
readme = "README.md"
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
keywords = []
[project.urls]
"Bug Tracker" = "https://github.com/NiklasRosenstein/python-github-bot-api/issues"
Documentation = "https://niklasrosenstein.github.io/python-github-bot-api/"
Repository = "https://github.com/NiklasRosenstein/python-github-bot-api"
[tool.mypy]
python_version = "3.10"
explicit_package_bases = true
mypy_path = ["src"]
namespace_packages = true
pretty = true
show_error_codes = true
show_error_context = true
# strict = true
warn_no_return = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
check_untyped_defs = true
[tool.ruff]
line-length = 120
[tool.uv]
dev-dependencies = [
"mypy",
"pytest",
"ruff>=0.8.5",
"types-deprecated>=1.2.15.20241117",
"types-flask",
"types-requests",
]
[tool.slap.test]
ruff-fmt = "ruff format --check ."
ruff-check = "ruff check ."
mypy = "mypy ."
pytest = "pytest ."
[tool.slap.run]
fmt = "ruff format ."
docs-serve = "slap changelog format --all --markdown > docs/content/changelog.md && cd docs && uv run mkdocs serve"
docs-build = "slap changelog format --all --markdown > docs/content/changelog.md && cd docs && uv run mkdocs build"