-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
105 lines (93 loc) · 2.02 KB
/
Copy pathpyproject.toml
File metadata and controls
105 lines (93 loc) · 2.02 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
[project]
name = "chuk-mcp-tides"
version = "0.4.1"
description = "Tidal Data Discovery & Analysis MCP Server"
license = { text = "Apache-2.0" }
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"mcp>=0.9.1",
"chuk-mcp-server>=0.25.4",
"python-dotenv>=1.1.1",
"pydantic>=2.0.0",
# HTTP client for API calls
"httpx>=0.27.0",
# Numerical operations
"numpy>=1.24.0",
"chuk-artifacts>=0.11.3",
]
[project.optional-dependencies]
harmonic = [
"utide>=0.3.0",
"scipy>=1.10.0",
"matplotlib>=3.7.0",
]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-mock>=3.10.0",
"pytest-cov>=4.0.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
"bandit>=1.7.0",
"pre-commit>=3.0.0",
# Harmonic engine for testing
"utide>=0.3.0",
"scipy>=1.10.0",
"matplotlib>=3.7.0",
]
[project.scripts]
chuk-mcp-tides = "chuk_mcp_tides.server:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/chuk_mcp_tides"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.pytest.ini_options]
minversion = "7.0"
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-ra",
"--strict-markers",
"--tb=short",
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.coverage.run]
branch = true
source = ["src/chuk_mcp_tides"]
omit = [
"*/tests/*",
"*/examples/*",
"src/chuk_mcp_tides/server.py",
"src/chuk_mcp_tides/async_server.py",
]
[tool.coverage.report]
precision = 2
show_missing = true
skip_covered = false
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.mypy]
python_version = "3.11"
warn_unused_configs = true
[[tool.mypy.overrides]]
module = [
"chuk_mcp_server",
"chuk_mcp_server.*",
"chuk_artifacts",
"chuk_artifacts.*",
"utide",
"utide.*",
]
ignore_missing_imports = true
follow_imports = "skip"
[tool.bandit]
exclude_dirs = ["tests"]
skips = ["B101"]