-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
150 lines (136 loc) · 6.68 KB
/
pyproject.toml
File metadata and controls
150 lines (136 loc) · 6.68 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
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
[tool.ruff]
target-version = "py311"
line-length = 110
[tool.ruff.lint]
select = []
ignore = ["ANN401", "C90", "COM812", "D100", "D104", "D105", "D107", "D200", "D202", "D207", "D208", "D212", "E501", "EM101", "EM102", "ERA001", "FA", "FBT001", "FBT002", "FIX002", "I001", "PERF203", "PLR09", "PLR2004", "Q000", "S101", "S113", "SIM105", "T201", "TD002", "W293"]
extend-select = ["UP", "I", "S", "B", "ALL"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.extend-per-file-ignores]
"tests/**" = ["ANN", "ARG", "ASYNC", "BLE001", "D", "DTZ", "E722", "FBT003", "INP001", "N", "PGH003", "PLC", "PLR2004", "PLW0603", "PLW1641", "RET", "RUF012", "RUF100", "S104", "S105", "S106", "S108", "S113", "S324", "S603", "S607", "S608", "SLF", "TRY003", "TRY301"]
"**/tests/**" = ["ANN", "ARG", "ASYNC", "BLE001", "D", "DTZ", "E722", "FBT003", "INP001", "N", "PGH003", "PLC", "PLR2004", "PLW0603", "PLW1641", "RET", "RUF012", "RUF100", "S104", "S105", "S106", "S108", "S113", "S324", "S603", "S607", "S608", "SLF", "TRY003", "TRY301"]
"**/test_*.py" = ["ANN", "ARG", "ASYNC", "BLE001", "D", "DTZ", "E722", "FBT003", "INP001", "N", "PGH003", "PLC", "PLR2004", "PLW0603", "PLW1641", "RET", "RUF012", "RUF100", "S104", "S105", "S106", "S108", "S113", "S324", "S603", "S607", "S608", "SLF", "TRY003", "TRY301"]
"**/*_test.py" = ["ANN", "ARG", "ASYNC", "BLE001", "D", "DTZ", "E722", "FBT003", "INP001", "N", "PGH003", "PLC", "PLR2004", "PLW0603", "PLW1641", "RET", "RUF012", "RUF100", "S104", "S105", "S106", "S108", "S113", "S324", "S603", "S607", "S608", "SLF", "TRY003", "TRY301"]
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
c2cwsgiutils = { version = "6.1.9", extras = ["standard", "debug", "dev"] }
c2cciutils = "1.7.5"
security-md = "1.0.0"
pyramid-mako = "1.1.0"
jsonmerge = "1.9.2"
markdown = "3.10.2"
pygments = "2.20.0"
html-sanitizer = "2.6.0"
ansi2html = "1.9.2"
apt-repo = "0.5"
debian-inspector = "31.1.1"
codespell = "2.4.2"
pydantic = "2.12.5"
markdownify = "1.2.2"
cryptography = "47.0.0"
urllib3 = "2.6.3"
certifi = "2026.4.22"
sentry-sdk = "2.56.0"
webob = "1.8.9"
waitress = "3.0.2"
lxml-html-clean = "0.4.4"
tag-publish = "1.1.1"
aiohttp = "3.13.4"
githubkit = { version = "0.15.1", extras = ["auth-app"] }
deprecated = "1.3.1"
aiomonitor = "0.7.1"
sqlalchemy = {extras = ["asyncio"], version = "2.0.48"}
asyncpg = "0.31.0"
multi-repo-automation = "1.9.0"
anyio = "4.13.0"
"pre-commit" = "4.5.1"
prek = "0.3.8"
setuptools = "80.10.2"
[tool.poetry.group.dev.dependencies]
c2cwsgiutils = { version = "6.1.9", extras = ["test-images"] }
prospector = { extras = ["with_mypy", "with_bandit", "with_pyroma", "with_ruff"], version = "1.18.0" }
prospector-profile-duplicated = "1.12.0"
prospector-profile-utils = "1.27.0"
pytest = "9.0.3"
pytest-asyncio = "1.3.0"
aioresponses = "0.7.8"
WebTest = "3.0.7"
mypy = "1.20.2"
requests = "2.33.1"
types-pyyaml = "6.0.12.20260408"
types-markdown = "3.10.2.20260408"
types-requests = "2.33.0.20260408"
types-deprecated = "1.3.1.20260408"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
pattern = "^(?P<base>\\d+(\\.\\d+)*)"
format-jinja = """
{%- if env.get("VERSION_TYPE") == "default_branch" -%}
{{serialize_pep440(bump_version(base, 1), dev=distance)}}
{%- elif env.get("VERSION_TYPE") == "stabilization_branch" -%}
{{serialize_pep440(bump_version(base, 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"
[project]
description = ""
version = "0.0.0"
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Typing :: Typed',
]
dynamic = ["dependencies", "version"]
name = "github-app-geo-project"
readme = "README.md"
keywords = ["github", "application", "pyramid"]
license = "BSD-2-Clause"
authors = [{name = "Stéphane Brunner",email = "stephane.brunner@camptocamp.com"}]
packages = [{ include = "github_app_geo_project" }]
include = ["github_app_geo_project/py.typed"]
requires-python = ">=3.11"
dependencies = ["c2cwsgiutils[debug,dev,standard]", "c2cciutils", "security-md", "pyramid-mako", "jsonmerge", "markdown", "pygments", "html-sanitizer", "ansi2html", "apt-repo", "debian-inspector", "codespell", "pydantic", "markdownify", "aioresponses", "pytest-asyncio", "cryptography", "urllib3", "certifi", "sentry-sdk", "webob", "waitress", "lxml-html-clean", "tag-publish", "aiohttp", "aiofiles", "githubkit[auth-app]", "deprecated", "aiomonitor", "sqlalchemy[asyncio]", "asyncpg", "multi-repo-automation", "anyio", "pre-commit", "prek", "setuptools"]
[project.urls]
repository = "https://github.com/camptocamp/github-app-geo-project"
"Bug Tracker" = "https://github.com/camptocamp/github-app-geo-project/issues"
[project.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"
[project.entry-points."paste.app_factory"]
main = "github_app_geo_project.server:main"
[project.entry-points."ghci.module"]
dispatcher = "github_app_geo_project.module.internal:Dispatcher"
test = "github_app_geo_project.module.tests:TestModule"
changelog = "github_app_geo_project.module.changelog:Changelog"
audit = "github_app_geo_project.module.audit:Audit"
auto-review = "github_app_geo_project.module.auto_review_merge_close.review:AutoReview"
auto-merge = "github_app_geo_project.module.auto_review_merge_close.merge:AutoMerge"
auto-close = "github_app_geo_project.module.auto_review_merge_close.close:AutoClose"
patch = "github_app_geo_project.module.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"
dispatch-publishing = "github_app_geo_project.module.dispatch_publishing:DispatchPublishing"
clean = "github_app_geo_project.module.clean:Clean"
backport = "github_app_geo_project.module.backport:Backport"
outdated-comments = "github_app_geo_project.module.outdated_comments:OutdatedComments"
updates = "github_app_geo_project.module.updates:Updates"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning", "poetry-plugin-export"]
build-backend = "poetry.core.masonry.api"