forked from bugsink/bugsink
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (96 loc) · 2.55 KB
/
pyproject.toml
File metadata and controls
107 lines (96 loc) · 2.55 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "bugsink/_version.py"
[project]
name = "bugsink"
authors = [
{name = "Bugsink B.V.", email = "info@bugsink.com"},
]
description = "Self-hosted Error Tracking"
readme = "README.md"
requires-python = ">=3.10"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = ["version", "dependencies"]
[project.scripts]
bugsink-show-version = "bugsink.scripts.show_version:main"
bugsink-manage = "bugsink.scripts.manage:main"
bugsink-util = "bugsink.scripts.util:main"
bugsink-create-conf = "bugsink.scripts.create_conf:main"
bugsink-runsnappea = "bugsink.scripts.runsnappea:main"
[project.urls]
homepage = "https://www.bugsink.com/"
documentation = "https://www.bugsink.com/docs/"
issues = "https://github.com/bugsink/bugsink/issues"
repository = "https://github.com/bugsink/bugsink"
[tool.ruff]
line-length = 120
target-version = "py312"
force-exclude = true
extend-exclude = [
"bugsink/event_schema.py",
"sentry/**",
]
[tool.ruff.lint]
select = [
"E",
"F",
"W",
]
ignore = [
# E226: missing whitespace around arithmetic operator; ignored by Flake8 by default
"E226",
# E741: ambiguous variable name
"E741",
# E731: do not assign a lambda expression, use a def; turned off as per https://stackoverflow.com/a/37489941/339144
"E731",
]
[tool.ruff.lint.per-file-ignores]
"**/migrations/*" = [
"E501",
]
[tool.setuptools]
include-package-data = true # this is the default, but explicit is better than implicit
[tool.setuptools.packages.find]
where = ["."]
include = [
"alerts*",
"api*",
"bsmain*",
"bugsink*",
"compat*",
"events*",
"ee*",
"ingest*",
"issues*",
"files*",
"performance*",
"phonehome*",
"projects*",
"releases*",
"sentry*",
"sentry_sdk_extensions*",
"snappea*",
"static*",
"tags*",
"teams*",
"templates*",
"theme*",
"users*",
]
exclude = [
# This, or similar syntaxes, don't seem to actually work.
# https://stackoverflow.com/q/75091671/339144
# "bugsink/settings/development.py",
] # exclude packages matching these glob patterns (empty by default)
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}