-
Notifications
You must be signed in to change notification settings - Fork 404
/
pyproject.toml
100 lines (88 loc) · 2.05 KB
/
pyproject.toml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
[build-system]
requires = ["hatchling>=1.14.1"]
build-backend = "hatchling.build"
[project]
name = "github3.py"
description = "Python wrapper for the GitHub API(http://developer.github.com/v3)"
readme = "README.rst"
requires-python = ">= 3.7"
url = "https://github3.readthedocs.io"
authors = [
{ name = "Ian Stapleton Cordasco", email="[email protected]" },
]
license = "BSD-3-Clause"
license_file = "LICENSE"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
]
dynamic = ["version"]
dependencies = [
"PyJWT[crypto]>=2.3.0",
"python-dateutil>=2.6.0",
"requests>=2.18",
"uritemplate>=3.0.0",
]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-xdist[psutil]",
"betamax>=0.5.1",
"betamax_matchers>=0.3.0",
]
dev = [
"github3.py[test]",
"wheel",
"build",
"twine",
"tox>=3.1.3",
]
[tool.hatch.version]
path = "src/github3/__about__.py"
[tool.hatch.build.targets.sdist]
strict-naming = false
[tool.hatch.build.targets.wheel]
packages = [
"src/github3",
]
strict-naming = false
[project.urls]
Documentation = "https://github3.readthedocs.io"
Changelog = "https://github3.readthedocs.io/en/latest/release-notes/index.html"
Source = "https://github.com/sigmavirus24/github3.py"
"Released Versions" = "https://github.com/sigmavirus24/github3.py/tags"
[tool.black]
line-length = 78
target-version = ['py37']
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
| venv
)/
)
'''
[tool.mypy]
files = ["."]
exclude = [
"^docs/",
"^tests/",
]
[tool.isort]
profile = "black"
line_length = 78
force_single_line = true