Download pyproject.toml from pimcore/local-inference-service: direct link, hf CLI and curl.
- Browser
- Download file 897 Bytes
-
https://huggingface.co/spaces/pimcore/local-inference-service/resolve/main/pyproject.toml
- Command line
-
hf download hf://spaces/pimcore/local-inference-service/pyproject.toml
-
curl -L -o pyproject.toml https://huggingface.co/spaces/pimcore/local-inference-service/resolve/main/pyproject.toml
897 Bytes
| # Tooling configuration only — runtime deps stay in requirements.txt (consumed by the Dockerfile). | |
| [tool.ruff] | |
| target-version = "py39" | |
| line-length = 120 | |
| src = ["src", "tests"] | |
| [tool.ruff.lint] | |
| # pycodestyle, pyflakes, import-sort, pyupgrade, bugbear, warnings. | |
| select = ["E", "F", "I", "UP", "B", "W"] | |
| [tool.ruff.lint.flake8-bugbear] | |
| # FastAPI's Path/File/Query/Depends/Body/Form are called in argument defaults by design. | |
| extend-immutable-calls = [ | |
| "fastapi.Path", | |
| "fastapi.File", | |
| "fastapi.Query", | |
| "fastapi.Depends", | |
| "fastapi.Body", | |
| "fastapi.Form", | |
| ] | |
| [tool.ruff.format] | |
| quote-style = "double" | |
| [tool.mypy] | |
| python_version = "3.9" | |
| # The ML stack (torch, transformers, PIL) ships no/partial type stubs; don't fail on their imports. | |
| ignore_missing_imports = true | |
| warn_unused_ignores = true | |
| files = ["src"] | |
| [tool.pytest.ini_options] | |
| testpaths = ["tests"] | |
| addopts = "-q" | |