Download weather-server-python/pyproject.toml from AbdulElahGwaith/quickstart-resources: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/AbdulElahGwaith/quickstart-resources/resolve/main/weather-server-python/pyproject.toml
- Command line
-
hf download hf://AbdulElahGwaith/quickstart-resources/weather-server-python/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/AbdulElahGwaith/quickstart-resources/resolve/main/weather-server-python/pyproject.toml
1.15 kB
| [project] | |
| name = "weather" | |
| version = "0.1.0" | |
| description = "A simple MCP weather server" | |
| readme = "README.md" | |
| requires-python = ">=3.10" | |
| dependencies = [ | |
| "httpx>=0.28.1", | |
| "mcp[cli]>=1.21.0", | |
| ] | |
| [build-system] | |
| requires = [ "hatchling",] | |
| build-backend = "hatchling.build" | |
| [dependency-groups] | |
| dev = [ | |
| "ruff>=0.14.8", | |
| ] | |
| [project.scripts] | |
| weather = "weather:main" | |
| [tool.ruff] | |
| line-length = 120 | |
| target-version = "py310" | |
| extend-exclude = ["README.md"] | |
| [tool.ruff.lint] | |
| select = [ | |
| "C4", # flake8-comprehensions | |
| "C90", # mccabe | |
| "E", # pycodestyle | |
| "F", # pyflakes | |
| "I", # isort | |
| "PERF", # Perflint | |
| "PL", # Pylint | |
| "UP", # pyupgrade | |
| ] | |
| ignore = ["PERF203", "PLC0415", "PLR0402"] | |
| mccabe.max-complexity = 24 # Default is 10 | |
| [tool.ruff.lint.pylint] | |
| allow-magic-value-types = ["bytes", "float", "int", "str"] | |
| max-args = 23 # Default is 5 | |
| max-branches = 23 # Default is 12 | |
| max-returns = 13 # Default is 6 | |
| max-statements = 102 # Default is 50 | |