-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (78 loc) · 2.01 KB
/
pyproject.toml
File metadata and controls
87 lines (78 loc) · 2.01 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
87
[project]
name = "simple-github"
description = "A simple Github client that only provides auth and access to the REST and GraphQL APIs."
version = "3.0.0"
authors = [
{ name = "Mozilla Release Engineering", email = "release+simple-github@mozilla.com"}
]
license = "MPL-2.0"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development",
]
requires-python = ">=3.10"
dependencies = [
"aiohttp[speedups]~=3.8",
"gql[aiohttp,requests]>=4,<5",
"pyjwt[crypto]~=2.8",
"requests~=2.31",
]
[dependency-groups]
dev = [
"aioresponses>=0.7",
"coverage>=7.3",
"pytest>=7.4",
"pytest-aioresponses>=0.2",
"pytest-asyncio>=0.21",
"pytest-mock>=3.11",
"pytest-responses>=0.5",
"pyright>=1.1",
"responses>=0.23",
"tox>=4.11",
"tox-uv>=1.28",
"watchfiles>=1.1.0",
]
[tool.commitizen]
bump_message = "chore: version bump $new_version"
changelog_incremental = true
gpg_sign = true
tag_format = "$version"
update_changelog_on_bump = true
version_provider = "pep621"
[tool.black]
line-length = 88
[tool.pytest.ini_options]
xfail_strict = true
[tool.coverage.run]
parallel = true
branch = true
source = ["src/simple_github/"]
[tool.ruff]
select = [
"E", "W", # pycodestyle
"F", # pyflakes
"I", # isort
"PLC", "PLE", # pylint
"UP", # pyupgrade
"TCH", # flake8-type-checking
]
ignore = [
"E501", # let black handle line-length
]
target-version = "py310"
[tool.ruff.isort]
known-first-party = ["simple_github"]
[tool.pyright]
include = ["src/simple_github"]
reportUnknownParameterType = "error"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"