Skip to content

Commit

Permalink
Update projects name (deepset-ai#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanocerza committed Mar 14, 2023
1 parent 9404eb0 commit 7502120
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 91 deletions.
46 changes: 14 additions & 32 deletions nodes/speech2text/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "haystack-speech2text"
name = "farm-haystack-speech2text"
description = 'Haystack node to convert audio files into Documents.'
readme = "README.md"
requires-python = ">=3.7"
license = "Apache-2.0"
keywords = []
authors = [
{ name = "deepset GmbH", email = "[email protected]" },
]
authors = [{ name = "deepset GmbH", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
Expand All @@ -34,14 +32,10 @@ dependencies = [
"torchaudio",
"openai-whisper @ git+https://github.com/openai/whisper.git"
]

dynamic = ["version"]

[project.optional-dependencies]
dev = [
"pytest",
"pylint"
]
dev = ["pytest", "pylint"]

[project.urls]
Documentation = "https://github.com/deepset-ai/haystack-extras/tree/main/nodes/speech2text#readme"
Expand All @@ -52,10 +46,8 @@ Source = "https://github.com/deepset-ai/haystack-extras/tree/main/nodes/speech2t
path = "speech2text/__about__.py"

[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
]
dependencies = ["pytest", "pytest-cov"]

[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=speech2text --cov=tests"
no-cov = "cov --no-cov"
Expand All @@ -69,35 +61,25 @@ python = ["37", "38", "39", "310", "311"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"speech2text/__about__.py",
]
omit = ["speech2text/__about__.py"]

[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]

[tool.pylint.'MESSAGES CONTROL']
max-line-length=120
disable = [
"missing-module-docstring",
"fixme"
]
max-line-length = 120
disable = ["missing-module-docstring", "fixme"]

[tool.pylint.'DESIGN']
max-args=7
max-args = 7

[tool.pylint.'SIMILARITIES']
min-similarity-lines=6
min-similarity-lines = 6

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
markers = [
"integration: integration tests",
"unit: unit tests",
]
markers = ["integration: integration tests", "unit: unit tests"]
log_cli = true

[tool.black]
Expand Down
53 changes: 17 additions & 36 deletions nodes/text2speech/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "haystack-text2speech"
name = "farm-haystack-text2speech"
description = 'Haystack node to convert text entities (documents, answers, etc...) into audio files.'
readme = "README.md"
requires-python = ">=3.7"
license = "Apache-2.0"
keywords = []
authors = [
{ name = "deepset GmbH", email = "[email protected]" },
]
authors = [{ name = "deepset GmbH", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
Expand All @@ -41,11 +39,7 @@ dependencies = [
dynamic = ["version"]

[project.optional-dependencies]
dev = [
"pytest",
"pylint",
"black"
]
dev = ["pytest", "pylint", "black"]

[project.urls]
Documentation = "https://github.com/deepset-ai/haystack-extras/tree/main/nodes/text2speech#readme"
Expand All @@ -56,10 +50,8 @@ Source = "https://github.com/deepset-ai/haystack-extras/tree/main/nodes/text2spe
path = "text2speech/__about__.py"

[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
]
dependencies = ["pytest", "pytest-cov"]

[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=text2speech --cov=tests"
no-cov = "cov --no-cov"
Expand All @@ -70,42 +62,31 @@ python = ["37", "38", "39", "310", "311"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"text2speech/__about__.py",
]
omit = ["text2speech/__about__.py"]

[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]

[tool.pylint.'MESSAGES CONTROL']
max-line-length=120
disable = [
"missing-module-docstring",
"fixme",
"R0913",
"W0221"
]
max-line-length = 120
disable = ["missing-module-docstring", "fixme", "R0913", "W0221"]

[tool.pylint.'DESIGN']
max-args=7
max-args = 7

[tool.pylint.'SIMILARITIES']
min-similarity-lines=10
ignore-comments=true
min-similarity-lines = 10
ignore-comments = true

[tool.pylint.'TYPECHECK']
# List of members which are set dynamically and missed by Pylint inference
# system, and so shouldn't trigger E1101 when accessed.
generated-members="torch.*"
generated-members = "torch.*"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
markers = [
"integration: integration tests",
"unit: unit tests",
]
markers = ["integration: integration tests", "unit: unit tests"]
log_cli = true

[tool.black]
Expand Down
31 changes: 8 additions & 23 deletions stores/mongodb-documentstore/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "haystack-mongodb-documentstore"
name = "farm-haystack-mongodb-documentstore"
description = ''
readme = "README.md"
requires-python = ">=3.7"
license = "Apache-2.0"
keywords = []
authors = [
{ name = "deepset GmbH", email = "[email protected]" },
]
authors = [{ name = "deepset GmbH", email = "[email protected]" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
Expand All @@ -23,16 +21,11 @@ classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"farm-haystack>1, <2",
"pymongo<5"
]
dependencies = ["farm-haystack>1, <2", "pymongo<5"]
dynamic = ["version"]

[project.optional-dependencies]
dev = [
"farm-haystack[dev]>1, <2",
]
dev = ["farm-haystack[dev]>1, <2"]

[project.urls]
Documentation = "https://github.com/unknown/mongodb-documentstore#readme"
Expand All @@ -43,10 +36,8 @@ Source = "https://github.com/unknown/mongodb-documentstore"
path = "mongodb_documentstore/__about__.py"

[tool.hatch.envs.default]
dependencies = [
"pytest",
"pytest-cov",
]
dependencies = ["pytest", "pytest-cov"]

[tool.hatch.envs.default.scripts]
cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=mongodb_documentstore --cov=tests"
no-cov = "cov --no-cov"
Expand All @@ -57,13 +48,7 @@ python = ["37", "38", "39", "310", "311"]
[tool.coverage.run]
branch = true
parallel = true
omit = [
"mongodb_documentstore/__about__.py",
]
omit = ["mongodb_documentstore/__about__.py"]

[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
exclude_lines = ["no cov", "if __name__ == .__main__.:", "if TYPE_CHECKING:"]

0 comments on commit 7502120

Please sign in to comment.