From 6cbc581b598838f738b7da29dd4160f85d904f62 Mon Sep 17 00:00:00 2001 From: Alistair Rogers Date: Fri, 29 Dec 2023 19:26:43 +0000 Subject: [PATCH] fix typo from jina to ollama in hatch lint --- integrations/ollama/pyproject.toml | 128 ++++++++++++++--------------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/integrations/ollama/pyproject.toml b/integrations/ollama/pyproject.toml index e3db3d344..b21be2a1c 100644 --- a/integrations/ollama/pyproject.toml +++ b/integrations/ollama/pyproject.toml @@ -11,19 +11,19 @@ requires-python = ">=3.8" license = "Apache-2.0" keywords = [] authors = [ - { name = "Alistair Rogers", email = "alistairlr112@gmail.com" }, - { name = "Sachin Sachdeva", email = "emailforsachinsachdeva@gmail.com" } + { name = "Alistair Rogers", email = "alistairlr112@gmail.com" }, + { name = "Sachin Sachdeva", email = "emailforsachinsachdeva@gmail.com" } ] classifiers = [ - "Development Status :: 4 - Beta", - "Programming Language :: Python", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy", + "Development Status :: 4 - Beta", + "Programming Language :: Python", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", ] dependencies = ["haystack-ai", "requests"] @@ -42,19 +42,19 @@ git_describe_command = 'git describe --tags --match="integrations/ollama-v[0-9]* [tool.hatch.envs.default] dependencies = [ - "coverage[toml]>=6.5", - "pytest", + "coverage[toml]>=6.5", + "pytest", ] [tool.hatch.envs.default.scripts] test = "pytest {args:tests}" test-cov = "coverage run -m pytest {args:tests}" cov-report = [ - "- coverage combine", - "coverage report", + "- coverage combine", + "coverage report", ] cov = [ - "test-cov", - "cov-report", + "test-cov", + "cov-report", ] [[tool.hatch.envs.all.matrix]] @@ -62,27 +62,27 @@ python = ["3.8", "3.9", "3.10", "3.11", "3.12"] [tool.hatch.envs.lint] -detached=true +detached = true dependencies = [ - "black>=23.1.0", - "mypy>=1.0.0", - "ruff>=0.0.243", + "black>=23.1.0", + "mypy>=1.0.0", + "ruff>=0.0.243", ] [tool.hatch.envs.lint.scripts] -typing = "mypy --install-types --non-interactive {args:src/jina_haystack tests}" +typing = "mypy --install-types --non-interactive {args:src/ollama_haystack tests}" style = [ - "ruff {args:.}", - "black --check --diff {args:.}", + "ruff {args:.}", + "black --check --diff {args:.}", ] fmt = [ - "black {args:.}", - "ruff --fix {args:.}", - "style", + "black {args:.}", + "ruff --fix {args:.}", + "style", ] all = [ - "style", - "typing", + "style", + "typing", ] [tool.hatch.metadata] @@ -100,42 +100,42 @@ skip-string-normalization = true target-version = "py37" line-length = 120 select = [ - "A", - "ARG", - "B", - "C", - "DTZ", - "E", - "EM", - "F", - "I", - "ICN", - "ISC", - "N", - "PLC", - "PLE", - "PLR", - "PLW", - "Q", - "RUF", - "S", - "T", - "TID", - "UP", - "W", - "YTT", + "A", + "ARG", + "B", + "C", + "DTZ", + "E", + "EM", + "F", + "I", + "ICN", + "ISC", + "N", + "PLC", + "PLE", + "PLR", + "PLW", + "Q", + "RUF", + "S", + "T", + "TID", + "UP", + "W", + "YTT", ] ignore = [ - # Allow non-abstract empty methods in abstract base classes - "B027", - # Ignore checks for possible passwords - "S105", "S106", "S107", - # Ignore complexity - "C901", "PLR0911", "PLR0912", "PLR0913", "PLR0915", + # Allow non-abstract empty methods in abstract base classes + "B027", + # Ignore checks for possible passwords + "S105", "S106", "S107", + # Ignore complexity + "C901", "PLR0911", "PLR0912", "PLR0913", "PLR0915", ] unfixable = [ - # Don't touch unused imports - "F401", + # Don't touch unused imports + "F401", ] [tool.ruff.flake8-tidy-imports] @@ -158,9 +158,9 @@ tests = ["tests", "*/ollama-haystack/tests"] [tool.coverage.report] exclude_lines = [ - "no cov", - "if __name__ == .__main__.:", - "if TYPE_CHECKING:", + "no cov", + "if __name__ == .__main__.:", + "if TYPE_CHECKING:", ] [tool.pytest.ini_options]