-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
118 lines (107 loc) · 3.87 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
[tool.black]
line-length = 110
target-version = ["py310"]
[tool.isort]
profile = "black"
line_length = 110
known_first_party = "github_app_geo_project"
[tool.mypy]
python_version = "3.11"
warn_redundant_casts = true
warn_unused_ignores = true
ignore_missing_imports = true
strict = true
[tool.poetry]
name = "github-app-geo-project"
version = "0.0.0"
description = ""
readme = "README.md"
authors = ["Stéphane Brunner <[email protected]>"]
repository = "https://github.com/camptocamp/github-app-geo-project"
license = "BSD-2-Clause"
keywords = ["github", "application", "pyramid"]
packages = [{ include = "github_app_geo_project" }]
include = ["github_app_geo_project/py.typed"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Typing :: Typed",
]
[tool.poetry.scripts]
process-queue = "github_app_geo_project.scripts.process_queue:main"
send-event = "github_app_geo_project.scripts.send_event:main"
health-check = "github_app_geo_project.scripts.health_check:main"
[tool.poetry.plugins."paste.app_factory"]
main = "github_app_geo_project.server:main"
[tool.poetry.plugins."ghci.module"]
test = "github_app_geo_project.module.tests:TestModule"
changelog = "github_app_geo_project.module.standard.changelog:Changelog"
audit = "github_app_geo_project.module.audit:Audit"
auto-review = "github_app_geo_project.module.standard.auto_review:AutoReview"
auto-merge = "github_app_geo_project.module.standard.auto_merge:AutoMerge"
auto-close = "github_app_geo_project.module.standard.auto_close:AutoClose"
patch = "github_app_geo_project.module.standard.patch:Patch"
versions = "github_app_geo_project.module.versions:Versions"
workflow = "github_app_geo_project.module.workflow:Workflow"
pull-request-checks = "github_app_geo_project.module.pull_request.checks:Checks"
pull-request-links = "github_app_geo_project.module.pull_request.links:Links"
delete-old-workflow-runs = "github_app_geo_project.module.delete_old_workflow_runs:DeleteOldWorkflowRuns"
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
c2cwsgiutils = { version = "6.0.8", extras = ["standard", "debug", "dev"] }
c2cciutils = "1.6.23"
security-md = "0.2.3"
pyramid-mako = "1.1.0"
jsonmerge = "1.9.2"
pygithub = "2.4.0"
markdown = "3.7"
pygments = "2.18.0"
html-sanitizer = "2.4.4"
ansi2html = "1.9.2"
apt-repo = "0.5"
debian-inspector = "31.1.0"
codespell = "2.3.0"
pydantic = "2.9.2"
markdownify = "0.13.1"
responses = "0.25.3"
pytest-asyncio = "0.24.0"
cryptography = "43.0.1"
urllib3 = "2.2.3"
certifi = "2024.8.30"
sentry-sdk = "2.15.0"
webob = "1.8.8"
waitress = "3.0.1"
[tool.poetry.group.dev.dependencies]
c2cwsgiutils = { version = "6.0.8", extras = ["test-images"] }
prospector = { extras = ["with_mypy", "with_bandit", "with_pyroma"], version = "1.11.0" }
prospector-profile-duplicated = "1.5.0"
prospector-profile-utils = "1.7.2"
pytest = "8.3.3"
WebTest = "3.0.1"
types-pyyaml = "6.0.12.20240917"
types-setuptools = "75.1.0.20240917"
types-markdown = "3.7.0.20240822"
types-requests = "2.32.0.20240914"
types-toml = "0.10.8.20240310"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning", "poetry-plugin-tweak-dependencies-version", "poetry-plugin-drop-python-upper-constraint", "poetry-plugin-export"]
build-backend = "poetry.core.masonry.api"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^(?P<base>\\d+(\\.\\d+)*)"
format-jinja = """
{%- if env.get("VERSION_TYPE") == "version_branch" -%}
{{serialize_pep440(bump_version(base, 1 if env.get("IS_MASTER") == "TRUE" else 2), dev=distance)}}
{%- elif distance == 0 -%}
{{serialize_pep440(base)}}
{%- else -%}
{{serialize_pep440(bump_version(base), dev=distance)}}
{%- endif -%}
"""
[tool.poetry-plugin-tweak-dependencies-version]
default = "present"