Compare commits

...

15 Commits

7 changed files with 47 additions and 33 deletions

29
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
version: 2
updates:
- package-ecosystem: "uv"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "04:00"
open-pull-requests-limit: 8
allow:
- dependency-type: "all"
reviewers:
- "Cian-H"
assignees:
- "Cian-H"
commit-message:
prefix: "uv-deps"
prefix-development: "uv-deps-dev"
include: "scope"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "04:00"
open-pull-requests-limit: 5
commit-message:
prefix: "ci"

View File

@@ -74,13 +74,19 @@ jobs:
run: | run: |
uv --version uv --version
uv run python --version uv run python --version
docker --version
docker ps
- name: Install dependencies - name: Install dependencies
run: | run: |
uv sync --group tests uv sync --group tests
- name: Run tests - name: Run tests
env:
PYTEST_ADDOPTS: "--cov-report=lcov"
run: | run: |
uv run test uv run test
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov

View File

@@ -24,11 +24,11 @@
.. image:: https://readthedocs.org/projects/invenio-config-iform/badge/?version=latest .. image:: https://readthedocs.org/projects/invenio-config-iform/badge/?version=latest
:target: https://invenio-config-iform.readthedocs.io/en/latest/?badge=latest :target: https://invenio-config-iform.readthedocs.io/en/latest/?badge=latest
.. image:: https://img.shields.io/coveralls/mb-wali/invenio-config-iform.svg .. image:: https://coveralls.io/repos/github/Cian-H/invenio-config-iform/badge.svg?branch=master
:target: https://coveralls.io/r/mb-wali/invenio-config-iform :target: https://coveralls.io/github/Cian-H/invenio-config-iform?branch=master
.. image:: https://img.shields.io/badge/code%20style-Ruff-D7FF64.svg .. image:: https://img.shields.io/badge/code%20style-Ruff-D7FF64.svg
:target: https://github.com/astral-sh/ruff :target: https://github.com/astral-sh/ruff
invenio module that adds I-Form configs. invenio module that adds I-Form configs.

View File

@@ -47,8 +47,8 @@ master_doc = "index"
# General information about the project. # General information about the project.
project = "invenio-config-iform" project = "invenio-config-iform"
copyright = "2022, TU Graz" copyright = "2025, I-Form"
author = "TU Graz" author = "I-Form"
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
@@ -109,10 +109,10 @@ html_theme = "alabaster"
html_theme_options = { html_theme_options = {
"description": "invenio module that adds iform configs.", "description": "invenio module that adds iform configs.",
"github_user": "TU Graz", "github_user": "Cian-H",
"github_repo": "invenio-config-iform", "github_repo": "invenio-config-iform",
"github_button": False, "github_button": True,
"github_banner": True, "github_banner": False,
"show_powered_by": False, "show_powered_by": False,
"extra_nav_links": { "extra_nav_links": {
"invenio-config-iform@Github": "https://github.com/Cian-H/invenio-config-iform", "invenio-config-iform@Github": "https://github.com/Cian-H/invenio-config-iform",
@@ -244,7 +244,7 @@ latex_documents = [
master_doc, master_doc,
"invenio-config-iform.tex", "invenio-config-iform.tex",
"invenio-config-iform Documentation", "invenio-config-iform Documentation",
"Mojib Wali", "I-Form",
"manual", "manual",
), ),
] ]

View File

@@ -1 +0,0 @@
-e .[docs,tests]

View File

@@ -8,4 +8,4 @@
"""Metadata for this python module.""" """Metadata for this python module."""
__version__ = "2025.5.20.10" __version__ = "2025.5.20.21"

View File

@@ -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/"