-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (71 loc) · 2.29 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (71 loc) · 2.29 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
76
77
78
79
80
81
[project]
name = "lashing"
version = "0.1.0"
description = "An MCP server that lets AI agents book and track container shipments through the DCSA standards, with every change validated, authorized and logged."
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE", "NOTICE"]
authors = [{ name = "devjoinedthechat", email = "235875317+devjoinedthechat@users.noreply.github.com" }]
requires-python = ">=3.13"
keywords = ["mcp", "dcsa", "shipping", "logistics", "ai-agents", "booking", "track-and-trace"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Office/Business",
"Typing :: Typed",
]
dependencies = [
"anyio>=4.15.1",
"httpx>=0.28.1",
"jsonschema>=4.26.0",
"mcp>=2.2.0,<3",
"starlette>=1.6.0",
"uvicorn>=0.53.0",
]
[project.scripts]
lashing = "lashing.cli:main"
[project.urls]
Repository = "https://github.com/devjoinedthechat/lashing"
[build-system]
requires = ["uv_build>=0.12.16,<0.13.0"]
build-backend = "uv_build"
[dependency-groups]
dev = [
"anyio>=4.15.1",
"hypothesis>=6.168.0",
"mypy>=2.3.1",
"pytest>=9.1.1",
"pyyaml>=6.0.3",
"ruff>=0.16.8",
"types-jsonschema>=4.26.0.20260518",
"types-pyyaml>=6.0.12.20260906",
]
evals = [
"anthropic>=1.7.0",
]
[tool.uv]
default-groups = ["dev", "evals"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["-ra", "--strict-markers"]
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "S", "SIM", "RUF", "PL", "TRY", "C4", "PT", "RET", "ARG"]
ignore = [
"PLR0913", # tool functions mirror the arguments an agent passes
"PLR0917", # same, positionally
"PLR2004", # magic values read fine in domain rules (e.g. 7-digit IMO numbers)
"TRY003", # messages go to agents and operators; long ones are the point
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "PLR2004", "ARG001", "ARG002", "ARG005", "PT018"]
"evals/**" = ["S101", "ARG001", "ARG002", "ARG005", "PT018"] # graders and agents share one signature
[tool.mypy]
strict = true
python_version = "3.13"
files = ["src", "tests", "scripts", "evals", "conformance"]