-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (95 loc) · 2.64 KB
/
Copy pathpyproject.toml
File metadata and controls
109 lines (95 loc) · 2.64 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
name = "gerrit-to-platform"
# version = "0.0.1"
dynamic = ["version"]
description = "Gerrit to GitHub / GitLab"
readme = "README.rst"
requires-python = ">=3.9"
license = {file = "LICENSE.txt"}
authors = [
{name = "Andrew Grimberg", email = "agrimberg@linuxfoundation.org"}
]
maintainers = [
{name = "Andrew Grimberg", email = "agrimberg@linuxfoundation.org"}
]
# Add here all kinds of additional classifiers as defined under
# https://pypi.org/classifiers/
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Console :: Curses",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Version Control :: Git"
]
dependencies = [
"ghapi~=1.0.3",
"typer>=0.15",
"xdg~=5.1.1"
]
[project.optional-dependencies]
testing = [
"setuptools",
"pytest",
"pytest-cov",
"pytest-mock"
]
dev = [
"mypy"
]
[project.urls]
homepage = "https://gerrit.linuxfoundation.org/infra/releng/gerrit_to_platform"
documentation = "https://docs.releng.linuxfoundation.org"
repository = "https://gerrit.linuxfoundation.org/infra/releng/gerrit_to_platform"
[project.scripts]
change-merged = "gerrit_to_platform.change_merged:app"
comment-added = "gerrit_to_platform.comment_added:app"
patchset-created = "gerrit_to_platform.patchset_created:app"
[build-system]
requires = ["setuptools>=46.1.0", "setuptools_scm[toml]>=5"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
platforms = ["linux"]
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests*"]
[tool.setuptools_scm]
# For smarter version schemes and other configuration options,
# check out https://github.com/pypa/setuptools_scm
version_scheme = "no-guess-dev"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
"--cov=gerrit_to_platform",
"--cov-report=term-missing",
"--verbose"
]
norecursedirs = [
"dist",
"build",
".tox"
]
testpaths = [
"tests"
]
[tool.flake8]
extend-ignore = ["E203", "W503"]
# ^ Black-compatible
# E203 and W503 have edge cases handled by black
exclude = [
".tox",
"build",
"dist",
".eggs",
"docs/conf.py"
]