Skip to content
Snippets Groups Projects
Commit 7272647e authored by Christoph Ladurner's avatar Christoph Ladurner Committed by Nicola
Browse files

move check_manifest configuration to setup.cfg.

concentrate the configuration of all calls in one place
parent 9b6d24f4
No related branches found
No related tags found
No related merge requests found
...@@ -4,12 +4,13 @@ ...@@ -4,12 +4,13 @@
# This file is part of Invenio. # This file is part of Invenio.
# Copyright (C) 2016-2020 CERN. # Copyright (C) 2016-2020 CERN.
# Copyright (C) 2020 Northwestern University. # Copyright (C) 2020 Northwestern University.
# Copyright (C) 2022 Graz University of Technology.
# #
# Invenio is free software; you can redistribute it and/or modify it # Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details. # under the terms of the MIT License; see LICENSE file for more details.
python -m check_manifest --ignore ".*-requirements.txt" && \ python -m check_manifest && \
python -m setup extract_messages --output-file /dev/null python -m setup extract_messages --dry-run
python -m sphinx.cmd.build -qnNW docs docs/_build/html && \ python -m sphinx.cmd.build -qnNW docs docs/_build/html && \
python -m pytest python -m pytest
python -m sphinx.cmd.build -qnNW -b doctest docs docs/_build/doctest python -m sphinx.cmd.build -qnNW -b doctest docs docs/_build/doctest
......
...@@ -107,6 +107,10 @@ output-dir = invenio_previewer/translations/ ...@@ -107,6 +107,10 @@ output-dir = invenio_previewer/translations/
[isort] [isort]
profile=black profile=black
[check-manifest]
ignore =
*-requirements.txt
[tool:pytest] [tool:pytest]
addopts = --black --isort --pydocstyle --cov=invenio_previewer --cov-report=term-missing addopts = --black --isort --pydocstyle --cov=invenio_previewer --cov-report=term-missing
testpaths = tests invenio_previewer testpaths = tests invenio_previewer
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment