-
Notifications
You must be signed in to change notification settings - Fork 150
/
pyproject.toml
85 lines (72 loc) · 2.19 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "promgen"
version = "0.67.0.dev"
authors = [{ name = "LINE Corporation", email = "dl_oss_dev@linecorp.com" }]
classifiers = [
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP",
]
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.9"
dependencies = [
"Django~=4.2",
"atomicwrites",
"celery",
"django-environ",
"django-filter",
"djangorestframework",
"kombu",
"prometheus-client",
"python-dateutil",
"pyyaml",
"requests",
"social-auth-app-django>=2.0.0",
]
[tool.setuptools.packages]
find = {}
[project.urls]
Source = "https://github.com/line/promgen"
Tracker = "https://github.com/line/promgen/issues"
Documentation = "https://line.github.io/promgen/"
[project.optional-dependencies]
dev = ["codecov", "flake8", "unittest-xml-reporting"]
docs = ["Sphinx", "sphinxcontrib-httpdomain"]
mysql = ["mysqlclient"]
[project.scripts]
promgen = "promgen.manage:main"
[project.entry-points]
[project.entry-points."promgen.discovery"]
promgen = "promgen.discovery.default:DiscoveryPromgen"
[project.entry-points."promgen.notification"]
email = "promgen.notification.email:NotificationEmail"
linenotify = "promgen.notification.linenotify:NotificationLineNotify"
slack = "promgen.notification.slack:NotificationSlack"
user = "promgen.notification.user:NotificationUser"
webhook = "promgen.notification.webhook:NotificationWebhook"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
ignore = [
'E741', # Ambiguous variable name
'E501', # We let the formatter fix line length but don't want to be warned
]
select = ["E", "F", 'I']
[tool.ruff.format]
exclude = [
"promgen/migrations/*",
"promgen/urls.py",
]
[tool.ruff.lint.isort]
known-first-party = ["promgen"]
[tool.codespell]
skip = '*.min.js,*.min.css,*.css.map,.venv,dist,.git'