Skip to content

Commit

Permalink
fix typo from jina to ollama in hatch lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AlistairLR112 committed Dec 29, 2023
1 parent 7713b40 commit 6cbc581
Showing 1 changed file with 64 additions and 64 deletions.
128 changes: 64 additions & 64 deletions integrations/ollama/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ requires-python = ">=3.8"
license = "Apache-2.0"
keywords = []
authors = [
{ name = "Alistair Rogers", email = "[email protected]" },
{ name = "Sachin Sachdeva", email = "[email protected]" }
{ name = "Alistair Rogers", email = "[email protected]" },
{ name = "Sachin Sachdeva", email = "[email protected]" }
]
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"]

Expand All @@ -42,47 +42,47 @@ 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]]
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]
Expand All @@ -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]
Expand All @@ -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]
Expand Down

0 comments on commit 6cbc581

Please sign in to comment.