-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (31 loc) · 922 Bytes
/
Copy pathpyproject.toml
File metadata and controls
36 lines (31 loc) · 922 Bytes
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
[project]
name = "grok-regex-debugger"
version = "1.1.5"
description = "ECS-compliant Grok & Regexp Debugger"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fastapi>=0.100.0",
"uvicorn[standard]>=0.22.0",
"jinja2>=3.1.0",
"pygrok>=1.0.0",
"pydantic>=2.0.0"
]
[project.optional-dependencies]
dev = [
"ruff>=0.6.0",
"bandit>=1.7.0",
"pytest>=8.0.0",
"httpx>=0.27.0"
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
# E/F/W: pyflakes + pycodestyle (default). B: bugbear. C4: comprehensions.
# SIM: simplify. UP: pyupgrade. RUF: ruff-native checks. PTH: prefer pathlib.
# N: naming. ARG: unused arguments. BLE: no bare `except Exception` without
# a justifying comment/noqa (see grok_engine.py's find_partial_match).
select = ["E", "F", "W", "B", "C4", "SIM", "UP", "RUF", "PTH", "N", "ARG", "BLE"]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["tests"]