mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
Removed unnecessary babel config
This commit is contained in:
@@ -87,12 +87,12 @@ exclude = [".venv", "tests/*", "*/tests/*", "*.rst", "run-tests.sh"]
|
|||||||
|
|
||||||
# Testing configuration
|
# Testing configuration
|
||||||
[tool.pytest]
|
[tool.pytest]
|
||||||
addopts = "--ruff --ruff-format --pydocstyle --doctest-glob=\"*.rst\" --doctest-modules --cov=invenio_config_iform --cov-report=term-missing tests invenio_config_iform"
|
addopts = "--ruff --ruff-format --pydocstyle --doctest-glob=\"*.rst\" --doctest-modules --cov=./invenio_config_iform --cov-report=term-missing tests ./invenio_config_iform"
|
||||||
testpaths = ["tests", "invenio_config_iform"]
|
testpaths = ["tests", "invenio_config_iform"]
|
||||||
live_server_scope = "module"
|
live_server_scope = "module"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
addopts = "--ruff --ruff-format --pydocstyle --doctest-glob=\"*.rst\" --doctest-modules --cov=invenio_config_iform --cov-report=term-missing tests invenio_config_iform"
|
addopts = "--ruff --ruff-format --pydocstyle --doctest-glob=\"*.rst\" --doctest-modules --cov=./invenio_config_iform --cov-report=term-missing tests ./invenio_config_iform"
|
||||||
testpaths = ["tests", "invenio_config_iform"]
|
testpaths = ["tests", "invenio_config_iform"]
|
||||||
live_server_scope = "module"
|
live_server_scope = "module"
|
||||||
|
|
||||||
@@ -133,23 +133,3 @@ line-ending = "auto"
|
|||||||
|
|
||||||
[tool.pydocstyle]
|
[tool.pydocstyle]
|
||||||
add_ignore = ["D401"]
|
add_ignore = ["D401"]
|
||||||
|
|
||||||
# Babel configuration
|
|
||||||
[tool.babel.compile_catalog]
|
|
||||||
directory = "invenio_config_iform/translations/"
|
|
||||||
use-fuzzy = true
|
|
||||||
|
|
||||||
[tool.babel.extract_messages]
|
|
||||||
copyright_holder = "I-Form Advanced Research Manufacturing Research Centre"
|
|
||||||
msgid_bugs_address = "cian.hughes@dcu.ie"
|
|
||||||
mapping-file = "babel.ini"
|
|
||||||
output-file = "invenio_config_iform/translations/messages.pot"
|
|
||||||
add-comments = "NOTE"
|
|
||||||
|
|
||||||
[tool.babel.init_catalog]
|
|
||||||
input-file = "invenio_config_iform/translations/messages.pot"
|
|
||||||
output-dir = "invenio_config_iform/translations/"
|
|
||||||
|
|
||||||
[tool.babel.update_catalog]
|
|
||||||
input-file = "invenio_config_iform/translations/messages.pot"
|
|
||||||
output-dir = "invenio_config_iform/translations/"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user