Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
masci committed May 1, 2024
1 parent 98e87fc commit 58b94c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ Documentation = "https://github.com/unknown/example-store#readme"
Issues = "https://github.com/unknown/example-store/issues"
Source = "https://github.com/unknown/example-store"

[tool.hatch.build.targets.wheel]
packages = ["src/haystack_integrations"]

[tool.hatch.version]
path = "src/example_store/__about__.py"
path = "src/haystack_integrations/document_stores/example_store/__about__.py"

[tool.hatch.envs.default]
dependencies = [
Expand Down Expand Up @@ -65,7 +68,7 @@ dependencies = [
"ruff>=0.0.243",
]
[tool.hatch.envs.lint.scripts]
typing = "mypy --install-types --non-interactive {args:src/example_store tests}"
typing = "mypy --install-types --non-interactive --explicit-package-bases {args:src/haystack_integrations}"
style = [
"ruff check {args:.}",
"black --check --diff {args:.}",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
from typing import Any, Dict, Optional

from haystack import component

from example_store import ExampleDocumentStore
from haystack_integrations.document_stores.example_store import ExampleDocumentStore


@component
Expand Down

0 comments on commit 58b94c8

Please sign in to comment.