-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 1.2 KB
/
pyproject.toml
File metadata and controls
75 lines (66 loc) · 1.2 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
[project]
name = "cronalytics"
version = "1.1.0"
description = "Hermes dashboard plugin for cron observability"
readme = "README.md"
requires-python = ">=3.11"
authors = [
{name = "8bit64k", email = "[email protected]"},
]
dependencies = [
"argcomplete>=3.0",
"croniter>=1.0",
"fastapi>=0.100",
]
[project.scripts]
cronalytics = "cronalytics.cli:main"
[dependency-groups]
dev = [
"httpx>=0.27",
"mypy>=2.0.0",
"pytest>=9.0.3",
"ruff>=0.15.12",
]
[tool.setuptools]
packages = ["cronalytics"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--import-mode=importlib -v"
[tool.ruff]
target-version = "py311"
line-length = 120
[tool.ruff.lint]
select = [
"E",
"F",
"W",
"I",
"N",
"UP",
"B",
"C4",
"SIM",
"ARG",
]
ignore = [
"E402",
"SIM108",
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ARG002"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
ignore_missing_imports = true
explicit_package_bases = true
namespace_packages = true
exclude = [
"dashboard/",
"ingester.py",
"scanner.py",
"__init__.py",
]