Ctrl K
ComunidadGuías…

pyproject.toml

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
[build-system]
requires = ["setuptools==84.2.1", "setuptools_scm==10.3.4"]
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 = "Error Tracking Made Simple"
readme = "README.md"
requires-python = ">=3.11"
license-files = ["LICENSE"]
classifiers = [
    "Programming Language :: Python :: 3",
    "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"]}