Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed May 2, 2024
1 parent 0931cdf commit ef0841e
Show file tree
Hide file tree
Showing 4 changed files with 296 additions and 313 deletions.
4 changes: 2 additions & 2 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ tasks:
<<: *preparation
cmds:
# ignore 51358 safety - dev dependency only
# ignore 61489 pillow - dev dependency only
- poetry run safety check -i 51358 -i 61489
# ignore 67599 pip - dev dependency only
- poetry run safety check -i 51358 -i 67599

check:ruff:
desc: Complain about everything else
Expand Down
2 changes: 1 addition & 1 deletion cmem_plugin_pyshacl/plugin_pyshacl.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def langfilter(lbl: Literal) -> bool: # noqa: ARG001
return True

for label_prop in label_properties:
labels = list(filter(langfilter, graph.objects(subject, label_prop))) # type:ignore[arg-type]
labels = list(filter(langfilter, graph.objects(subject, label_prop))) # type:ignore[arg-type, var-annotated]
if len(labels) == 0:
continue
return [(label_prop, lbl) for lbl in labels]
Expand Down
Loading

0 comments on commit ef0841e

Please sign in to comment.