-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
92 lines (84 loc) · 2.3 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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "faktory-prometheus-exporter"
description = "Faktory metrics exporter for Prometheus, written in Python"
authors = [
{name = "Matthieu Rigal", email = "[email protected]"},
]
license = {file = "LICENSE"}
requires-python = ">=3.8"
readme = "README.md"
keywords = [
"faktory", "prometheus", "metrics"
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: System :: Monitoring",
"Topic :: Software Development :: Libraries",
]
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.scripts]
faktory-prometheus-exporter = "faktory_prometheus_exporter:main"
[project.urls]
Repository = "https://github.com/prospect-server/faktory-prometheus-exporter"
PyPI = "https://pypi.org/project/faktory-prometheus-exporter/"
"Gitlab Mirror" = "https://gitlab.com/prospect-energy/faktory-prometheus-exporter"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.in"]}
optional-dependencies.dev = { file = ["requirements-dev.in"] }
[tool.setuptools_scm]
[tool.ruff]
target-version = "py38"
preview = true
# Use unsafe-fixes while working on a daily basis, you can still add exceptions
unsafe-fixes = true
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# pydocstyle
"D",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bandit
"S",
# flake8-bugbear
"B",
# flake8-comprehensions
"C4",
# flake8-print
"T20",
# flake8-simplify
"SIM",
# ruff-specific
"RUF",
# isort
"I",
# Perflint
"PERF",
# Refurb
"FURB",
# flake8-annotations
"ANN",
# FOR FURTHER IMPROVEMENTS
# vulture-like (unused functions) rule, once available
# https://github.com/astral-sh/ruff/issues/872
]
[tool.ruff.lint.pydocstyle]
convention = "google"