From 7272647e5cb8317bd490f281ef9e8b39c7521097 Mon Sep 17 00:00:00 2001 From: Christoph Ladurner <christoph.ladurner@tugraz.at> Date: Sat, 18 Feb 2023 23:13:35 +0100 Subject: [PATCH] move check_manifest configuration to setup.cfg. concentrate the configuration of all calls in one place --- run-tests.sh | 5 +++-- setup.cfg | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/run-tests.sh b/run-tests.sh index e375a80..0299abc 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -4,12 +4,13 @@ # This file is part of Invenio. # Copyright (C) 2016-2020 CERN. # Copyright (C) 2020 Northwestern University. +# Copyright (C) 2022 Graz University of Technology. # # 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. -python -m check_manifest --ignore ".*-requirements.txt" && \ -python -m setup extract_messages --output-file /dev/null +python -m check_manifest && \ +python -m setup extract_messages --dry-run python -m sphinx.cmd.build -qnNW docs docs/_build/html && \ python -m pytest python -m sphinx.cmd.build -qnNW -b doctest docs docs/_build/doctest diff --git a/setup.cfg b/setup.cfg index b77a9db..8bceb0a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -107,6 +107,10 @@ output-dir = invenio_previewer/translations/ [isort] profile=black +[check-manifest] +ignore = + *-requirements.txt + [tool:pytest] addopts = --black --isort --pydocstyle --cov=invenio_previewer --cov-report=term-missing testpaths = tests invenio_previewer -- GitLab