Skip to content

Commit

Permalink
Add type ignore for mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
J4bbi committed Oct 29, 2024
1 parent 7e926f0 commit d070bfa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/ic_data_repo/config/custom_fields.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"""Custom fields configuration, part of the settings."""

Check failure on line 1 in site/ic_data_repo/config/custom_fields.py

View workflow job for this annotation

GitHub Actions / test

site/ic_data_repo/config/custom_fields.py 4: error: Unused "type: ignore" comment [unused-ignore]

from invenio_records_resources.services.custom_fields import TextCF
from marshmallow import validate
from marshmallow_utils.fields import ISOLangString
from invenio_records_resources.services.custom_fields import TextCF # type: ignore
from marshmallow import validate # type: ignore
from marshmallow_utils.fields import ISOLangString # type: ignore

RDM_NAMESPACES = {
"imperial": "https://www.imperial.ac.uk",
Expand Down

0 comments on commit d070bfa

Please sign in to comment.