forked from Mergifyio/mergify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
154 lines (143 loc) · 5.13 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "mergify_engine"
version = "0.0.0"
description = "mergify-engine is a GitHub Application to automate pull requests"
classifiers = ["Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10"]
homepage = "https://github.com/mergifyio/mergify-engine"
authors = ["Mergify <[email protected]>"]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
aiofiles = "*"
cryptography = "*"
daiquiri = ">=3"
datadog = "*"
ddtrace = ">=1.2.0rc1"
fastapi = "*"
first = "*"
graphql-utils = ">=0.4"
gunicorn = {extras = ["setproctitle"], version = "*"}
hiredis = "*"
honcho = "*"
httpx = {version = ">=0.20.0", extras = ["http2"]}
jinja2 = "*"
markdownify = "*"
msgpack = ">=1.0.0"
pyjwt = "*"
python-dotenv = "*"
python-multipart = "*"
pyyaml = "*"
redis = "*"
sentry-sdk = ">=1.2.0"
tenacity = "*"
uvicorn = {extras = ["standard"], version = "*"}
voluptuous = "*"
[tool.poetry.dev-dependencies]
sphinx = "^5.0.2"
sphinxcontrib-spelling = "^7.6.0"
respx = "^0.19.2"
semgrep = "^0.103.0"
types-first = "^2.0.5"
types-freezegun = "^1.1.10"
types-pkg-resources = "^0.1.3"
types-pyyaml = "^6.0.9"
types-redis = "^4.3.3"
pytest = "^7.1.2"
pytest-asyncio = "^0.18.3"
pytest-cov = "^3.0.0"
pytest-github-actions-annotate-failures = "^0.1.7"
pytest-httpserver = "^1.0.4"
pytest-timeout = "^2.1.0"
isort = "^5.10.1"
mypy = "^0.950"
mypy-extensions = "^0.4.3"
vcrpy = ">=4.1.1"
flake8 = "^4.0.1"
flake8-black = "^0.3.3"
flake8-blind-except = "^0.2.1"
flake8-bugbear = "^22.7.1"
flake8-builtins = "^1.5.3"
flake8-comprehensions = "^3.10.0"
flake8-docstrings = "^1.6.0"
flake8-logging-format = "^0.6.0"
flake8-rst-docstrings = "^0.2.6"
flake8-use-fstring = "^1.3"
freezegun = "^1.2.1"
yamllint = "^1.26.3"
reno = "^3.5.0"
pytest-chunks = "^0.2.0"
[tool.poetry.scripts]
mergify-refresher = "mergify_engine.web_cli:refresher"
mergify-queues = "mergify_engine.web_cli:queues"
mergify-clear-token-cache = "mergify_engine.web_cli:clear_token_cache"
mergify-debug = "mergify_engine.debug:main"
mergify-worker-status = "mergify_engine.worker:status"
mergify-reschedule = "mergify_engine.worker:reschedule_now"
mergify-engine-worker = "mergify_engine.worker:main"
mergify-import-check-worker = "mergify_engine.import_check:import_check_worker"
mergify-import-check-web = "mergify_engine.import_check:import_check_web"
mergify-count-seats = "mergify_engine.count_seats:main"
mergify-openapi-spec = "mergify_engine.web.api.root:generate_openapi_spec"
mergify-admin = "mergify_engine.admin:main"
# TODO(sileht): compat, drop me
mergify-import-check = "mergify_engine.import_check:import_check_worker"
[tool.poetry.plugins]
[tool.poetry.plugins.mergify_signals]
noop = "mergify_engine.signals:NoopSignal"
last_seen = "mergify_engine.usage.last_seen:Signal"
datadog = "mergify_engine._datadog:Signal"
eventlogs = "mergify_engine.eventlogs:EventLogsSignal"
[tool.poetry.plugins.mergify_actions]
assign = "mergify_engine.actions.assign:AssignAction"
backport = "mergify_engine.actions.backport:BackportAction"
copy = "mergify_engine.actions.copy:CopyAction"
post_check = "mergify_engine.actions.post_check:PostCheckAction"
label = "mergify_engine.actions.label:LabelAction"
delete_head_branch = "mergify_engine.actions.delete_head_branch:DeleteHeadBranchAction"
merge = "mergify_engine.actions.merge:MergeAction"
queue = "mergify_engine.actions.queue:QueueAction"
unqueue = "mergify_engine.actions.unqueue:UnqueueAction"
requeue = "mergify_engine.actions.requeue:RequeueAction"
close = "mergify_engine.actions.close:CloseAction"
comment = "mergify_engine.actions.comment:CommentAction"
review = "mergify_engine.actions.review:ReviewAction"
dismiss_reviews = "mergify_engine.actions.dismiss_reviews:DismissReviewsAction"
request_reviews = "mergify_engine.actions.request_reviews:RequestReviewsAction"
rebase = "mergify_engine.actions.rebase:RebaseAction"
update = "mergify_engine.actions.update:UpdateAction"
refresh = "mergify_engine.actions.refresh:RefreshAction"
squash = "mergify_engine.actions.squash:SquashAction"
edit = "mergify_engine.actions.edit:EditAction"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
asyncio_mode = "auto"
markers = ["recorder", "subscription"]
[tool.black]
target-version = ['py310']
[tool.mypy]
ignore_missing_imports = true
disallow_incomplete_defs = true
warn_unused_ignores = true
warn_unused_configs = true
disallow_any_generics = true
warn_return_any = true
files = ["mergify_engine"]
disallow_subclassing_any = true
warn_redundant_casts = true
strict_equality = true
no_implicit_optional = true
disallow_untyped_decorators = true
show_error_codes = true
disallow_untyped_calls = true
plugins = ["pydantic.mypy"]
[tool.isort]
profile = "black"
force_single_line = true
lines_after_imports = "2"
force_sort_within_sections = true
known_first_party = "mergify_engine,mergify_engine_signals"
known_third_party = "datadog"
default_section = "THIRDPARTY"