-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
Copy pathpyproject.toml
106 lines (91 loc) · 2.66 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
101
102
103
104
105
106
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=64", "setuptools_scm>=7"]
[project]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development",
]
description = "Use the full Github API v3"
keywords = ["github"]
name = "PyGithub"
readme = "README.md"
requires-python = ">=3.8"
dynamic = ["version"]
dependencies = [
"pynacl>=1.4.0",
"requests>=2.14.0",
"pyjwt[crypto]>=2.4.0",
"typing-extensions>=4.0.0",
"urllib3>=1.26.0",
"Deprecated",
]
[project.urls]
Documentation = "https://pygithub.readthedocs.io/en/stable/"
Source = "https://github.com/pygithub/pygithub"
Tracker = "https://github.com/pygithub/pygithub/issues"
[project.optional-dependencies]
integrations = []
[tool.setuptools_scm]
[tool.setuptools]
packages = ["github"]
[tool.setuptools.package-data]
github = ["py.typed", '*.pyi']
[tool.mypy]
python_version = '3.8'
ignore_missing_imports = true
namespace_packages = true
[[tool.mypy.overrides]]
module = ["github.*"]
check_untyped_defs = true
disallow_untyped_defs = true
warn_no_return = false
[tool.black]
# https://github.com/psf/black
line-length = 120
[tool.docformatter]
recursive = true
# some docstring start with r"""
wrap-summaries = 119
wrap-descriptions = 120
blank = true
pre-summary-newline = true
make-summary-multi-line = true
[tool.codespell]
skip = 'tests/*'
quiet-level = 3
# comma separated list of words; waiting for:
# https://github.com/codespell-project/codespell/issues/2839#issuecomment-1731601603
# also adding links until they ignored by its: nature
# https://github.com/codespell-project/codespell/issues/2243#issuecomment-1732019960
ignore-words-list = "bloaded,nto,pullrequest,pullrequests,thi,tim,wan,Wan,chang,chang,manuel"
[tool.ruff]
line-length = 120
# Enable Pyflakes `E` and `F` codes by default.
select = [
"E",
# see: https://pypi.org/project/pycodestyle
"W",
# see: https://pypi.org/project/pyflakes
"F",
# see: isort
"I",
]
ignore = ["E501", "E741"]
ignore-init-module-imports = true
unfixable = ["F401"]
[tool.pytest.ini_options]
python_files = "tests/*.py"
addopts = "--color=yes"