-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
77 lines (70 loc) · 1.85 KB
/
Copy pathpyproject.toml
File metadata and controls
77 lines (70 loc) · 1.85 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
# pyproject.toml
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "fastapi-githubapp"
version = "0.2.7"
description = "FastAPI extension for rapid GitHub App development"
readme = "README.md"
authors = ["primetheus <865381+primetheus@users.noreply.github.com>"]
license = "MIT"
homepage = "https://github.com/primetheus/fastapi-githubapp"
repository = "https://github.com/primetheus/fastapi-githubapp"
keywords = [
"fastapi",
"github",
"app",
"oauth2",
"oauth",
"probot",
"githubapp",
"github-app"
]
classifiers = [
"Programming Language :: Python :: 3",
"Framework :: FastAPI",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
]
# point Poetry at our src/ layout
packages = [
{ include = "githubapp", from = "src" }
]
# Tell Poetry to include README and LICENSE in your sdist:
include = ["README.md", "LICENSE"]
[tool.poetry.dependencies]
python = "^3.9"
fastapi = ">=0.95.0"
uvicorn = { version = ">=0.22.0", extras = ["standard"] }
ghapi = ">=1.0.0"
pyjwt = { version = ">=2.8.0", extras = ["crypto"] }
httpx = ">=0.28.1"
[tool.poetry.group.dev.dependencies]
pytest = "*"
pytest-mock = "*"
isort = "*"
black = "*"
pre-commit = "*"
pylint = "*"
seed-isort-config = "*"
green = "*"
tox = "*"
tox-gh-actions = "*"
respx = ">=0.21.0"
python-semantic-release = "^10.0.2"
[tool.semantic_release]
branch = "main"
tag_format = "v{version}"
version_variable = "pyproject.toml:tool.poetry.version"
upload_to_github = true
upload_to_pypi = true
[tool.pytest.ini_options]
# run tests in the "tests" folder
testpaths = ["tests"]
# add your src/ tree so "import githubapp" works
pythonpath = ["src"]
# pick up only files named test_*.py
python_files = ["test_*.py"]
# shorten output, show extra summary info for skips/fails
addopts = "-q --disable-warnings --strict-markers"