Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
invenio-previewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fdm
invenio-previewer
Commits
7272647e
Commit
7272647e
authored
2 years ago
by
Christoph Ladurner
Committed by
Nicola
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
run-tests.sh
+3
-2
3 additions, 2 deletions
run-tests.sh
setup.cfg
+4
-0
4 additions, 0 deletions
setup.cfg
with
7 additions
and
2 deletions
run-tests.sh
+
3
−
2
View file @
7272647e
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
setup.cfg
+
4
−
0
View file @
7272647e
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment