-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (57 loc) · 1.38 KB
/
pyproject.toml
File metadata and controls
62 lines (57 loc) · 1.38 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
[project]
name = "plugins-adapter"
version = "0.1.0"
description = "Envoy ext-proc for configuring and invoking guardrails in an Envoy-based gateway"
requires-python = ">=3.11"
dependencies = [
"grpcio>=1.80.0",
"grpcio-tools>=1.80.0",
"grpcio-health-checking>=1.80.0",
"betterproto2==0.9.1",
"cpex==0.1.0.dev10",
]
[dependency-groups]
proto = [
"requests==2.33.1",
"grpcio>=1.80.0",
"grpcio-tools>=1.80.0",
"betterproto2==0.9.1",
"betterproto2_compiler==0.9.0",
"structlog==25.5.0",
]
dev = [
"pytest>=9.0.3",
"pytest-asyncio==1.3.0",
"pre-commit>=4.5.1",
]
[tool.ruff]
line-length = 120
target-version = "py311"
exclude = [
".venv",
"src/envoy",
"src/udpa",
"src/validate",
"src/xds",
]
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.ruff.lint.isort]
known-first-party = ["src", "tests"]
known-third-party = ["cpex", "envoy", "grpc", "google"]
[tool.pytest.ini_options]
log_cli = false
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(module)s] [%(levelname)s] %(message)s"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_level = "INFO"
log_format = "%(asctime)s [%(module)s] [%(levelname)s] %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
testpaths = ["tests"]
pythonpath = [".", "src"]
markers = [
"integration: integration tests (start real gRPC server)",
]
filterwarnings = [
"ignore::DeprecationWarning",
]