-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
154 lines (134 loc) · 3.63 KB
/
Copy pathpyproject.toml
File metadata and controls
154 lines (134 loc) · 3.63 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[project]
dynamic = ["version"]
name = "eve-mcp"
requires-python = ">=3.11"
keywords = ["mcp", "model-context-protocol", "earth-observation", "eve", "esa"]
[project.urls]
Repository = "https://github.com/FrontierDevelopmentLab/eve-mcp"
[tool.poetry]
description = "MCP server for EVE (Earth Virtual Expert)"
authors = [
"r-spiewak <63987228+r-spiewak@users.noreply.github.com>",
"dead-water <james.walsh@trillium.tech>",
"rramosp",
"will-fawcett-trillium"
]
readme = "README.md"
license = "MIT"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering",
"Framework :: AsyncIO",
]
packages = [{include = "eve_mcp", from = "src"}]
version = "0.0.0" # Placeholder; gets replaced dynamically by file
[tool.poetry.dependencies]
python = "^3.11"
mcp = "^1.26.0"
fastmcp = "^3.1.0"
eve-api = {path = "lib/eve-api", develop = true}
[tool.poetry.group.dev.dependencies] # Optional
pre-commit = "^4.5.1"
autoflake = "^2.2.1"
isort = "^5.13.2"
black = "^23.3.0"
mypy = "^1.8.0"
pylint = "^3.2.0"
coverage = "^7.4.1"
pytest = ">=8.0.0"
pytest-asyncio = ">=0.23.0"
pytest-cov = ">=4.0.0"
pytest-testdox = "^3.1.0"
pytest-mock = "^3.14.0"
detect-secrets = "^1.5.0"
pytest-env = "^1.1.5"
pylint-per-file-ignores = "^3.2.0"
[tool.black]
line-length = 79
target-version = ['py311', 'py312']
include = '\.pyi?$'
extend-exclude = '''
/(
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
| \.git
| __pycache__
| \.tox
| \venv
| \.venv
| lib/eve-api
)/
'''
[tool.isort]
profile = "black"
line_length = 79
skip_glob = [
'*.parquet',
'lib/eve-api/*',
'client/*',
]
filter_files = true
skip_gitignore = true
[tool.mypy]
exclude = [
'\.yaml$',
'\.yml$',
'\.toml$',
'\.venv',
'lib/eve-api/',
]
ignore_missing_imports = true
[tool.pytest.ini_options]
pythonpath = [
"src"
]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
testpaths = ["tests"]
addopts = "-v --tb=short --basetemp=/tmp/pytest"
[tool.coverage.run]
source = ["src"]
omit = ["tests/**/conftest.py", "tests/*", "src/eve_mcp/_version.py"]
# For avoiding sqlite3 concurrency issues on CIFS drives:
data_file = "/tmp/eve_mcp/.coverage"
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_also = [
# Don't complain about missing debug-only code:
"def __repr__",
"if self\\.debug",
"if DEBUG_PRINT:",
"if DEBUG_PRINTS:",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:",
# Don't complain about abstract methods, they aren't run:
"@(abc\\.)?abstractmethod",
]
ignore_errors = true
[tool.poetry.requires-plugins]
poetry-dynamic-versioning = { version = ">=1.0.0,<2.0.0", extras = ["plugin"] }
[tool.poetry-dynamic-versioning]
enable = true
vcs = "none"
[tool.poetry-dynamic-versioning.from-file]
source = "src/eve_mcp/_version.py"
pattern = "^__version__\\s*=\\s*[\"']?(\\d+\\.\\d+\\.\\d+)[\"']?"
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"