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
82 lines (72 loc) · 1.93 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (72 loc) · 1.93 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "github-bot-api"
version = "0.6.0"
description = "API for creating GitHub bots and webhooks in Python."
authors = ["Niklas Rosenstein <rosensteinniklas@gmail.com>"]
license = "MIT"
readme = "README.md"
packages = [{ include = "github_bot_api", from = "src" }]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
]
keywords = []
[tool.poetry.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.poetry.dependencies]
python = "^3.8"
cryptography = "^42.0.5"
flask = { version = "*", optional = true }
PyGithub = { version = "^1.58", optional = true }
PyJWT = "^2.6.0"
requests = "^2.28.2"
urllib3 = "^1.26.15"
[tool.poetry.dev-dependencies]
black = "*"
flake8 = "*"
isort = "*"
mypy = "*"
pytest = "*"
types-flask = "*"
types-requests = "*"
[tool.slap]
typed = true
[tool.slap.test]
check = "slap check"
mypy = "dmypy run src"
pytest = "pytest -vv"
black = "black --check src"
isort = "isort --check-only src"
flake8 = "flake8 src"
[tool.slap.run]
fmt = "black src && isort src"
[tool.mypy]
python_version = "3.8"
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.isort]
profile = "black"
line_length = 120
combine_as_imports = true
[tool.black]
line-length = 120