-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
158 lines (144 loc) · 3.93 KB
/
Copy pathpyproject.toml
File metadata and controls
158 lines (144 loc) · 3.93 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
155
156
157
158
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tealflow-mcp"
version = "0.2.0"
description = "MCP server for discovering, understanding, and generating Teal R Shiny applications for clinical trial data analysis"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "AGPL-3.0-only" }
authors = [
{ name = "Jakub Nowicki", email = "kuba@appsilon.com" },
{ name = "Julian Guillo", email = "julian.guillo@appsilon.com" },
{ name = "Richard Fogaça", email = "richard.fogaca@appsilon.com" },
{ name = "Marcin Dubel", email = "marcin@appsilon.com" },
{ name = "Appsilon", email = "opensource@appsilon.com" }
]
maintainers = [
{ name = "Appsilon", email = "opensource@appsilon.com" }
]
keywords = [
"mcp",
"model-context-protocol",
"teal",
"clinical-trials",
"shiny",
"r",
"cdisc",
"adam"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering",
]
dependencies = [
"mcp>=1.0.0",
"pydantic>=2.0.0",
"pandas>=2.0.0",
"rdata>=1.0.0",
]
[project.urls]
Homepage = "https://github.com/Appsilon/TealFlowMCP"
Repository = "https://github.com/Appsilon/TealFlowMCP"
Documentation = "https://github.com/Appsilon/TealFlowMCP#readme"
"Bug Tracker" = "https://github.com/Appsilon/TealFlowMCP/issues"
[project.scripts]
tealflow-mcp = "tealflow_mcp:main"
[dependency-groups]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"ruff>=0.8.0",
"mypy>=1.0.0",
"pandas-stubs>=2.0.0",
"twine>=5.0.0",
]
docs = [
"mkdocs-material>=9.0.0",
"mkdocstrings[python]>=0.24.0",
"mkdocs-minify-plugin>=0.8.0",
"mkdocs-git-revision-date-localized-plugin>=1.2.0",
"mkdocs-include-markdown-plugin>=6.0.0",
]
[tool.ruff]
# Set the maximum line length to 100
line-length = 100
target-version = "py311"
# Exclude common directories
exclude = [
".git",
".venv",
"__pycache__",
"build",
"dist",
"*.egg-info",
]
[tool.ruff.lint]
# Enable these rule sets
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"RUF", # Ruff-specific rules
]
# Ignore specific rules
ignore = [
"E501", # Line too long (handled by formatter)
"B008", # Do not perform function calls in argument defaults (common in FastAPI/Pydantic)
]
# Allow autofix for all enabled rules
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.per-file-ignores]
# Ignore import order in __init__.py files
"__init__.py" = ["F401", "I001"]
# Allow unused imports in test files
"tests/*" = ["F401"]
[tool.ruff.lint.isort]
known-first-party = ["tealflow_mcp"]
[tool.ruff.format]
# Use double quotes for strings
quote-style = "double"
# Indent with spaces
indent-style = "space"
# Respect magic trailing commas
skip-magic-trailing-comma = false
# Auto-detect line ending
line-ending = "auto"
[tool.mypy]
python_version = "3.11"
warn_unused_configs = true
disallow_untyped_defs = false
disallow_incomplete_defs = false
check_untyped_defs = false
no_implicit_optional = false
warn_redundant_casts = false
warn_unused_ignores = false
warn_no_return = false
warn_return_any = false
strict_optional = false
# Allow untyped calls for third-party libraries without stubs
[[tool.mypy.overrides]]
module = [
"mcp.*",
"fastmcp.*",
"rdata.*",
"pandas.*",
]
ignore_missing_imports = true