Skip to content
Snippets Groups Projects
Commit d19eeb19 authored by Eliott Sammier's avatar Eliott Sammier
Browse files

Fix Pyright ignore rule on export_corese.py

parent 80d4aa81
No related branches found
No related tags found
1 merge request!1Main
...@@ -10,5 +10,8 @@ ...@@ -10,5 +10,8 @@
"reportUnknownArgumentType": "none", "reportUnknownArgumentType": "none",
"reportUnknownVariableType": "none", "reportUnknownVariableType": "none",
"reportUnknownMemberType": "none", "reportUnknownMemberType": "none",
"reportAny": "none" "reportAny": "none",
"ignore": [
"src/export_corese.py"
]
} }
\ No newline at end of file
# type: ignore # type: ignore
# This module isolates calls to Corese via the py4j interface, # This module isolates calls to Corese via the py4j interface,
# because py4j has no stubs and pretty much breaks type checkers. # because py4j has no stubs and pretty much breaks type checkers.
# This is also declared in pyrightconfig.json
import atexit import atexit
import subprocess import subprocess
...@@ -36,8 +37,6 @@ def apply_templates() -> str: ...@@ -36,8 +37,6 @@ def apply_templates() -> str:
Graph = gateway.jvm.fr.inria.corese.core.Graph Graph = gateway.jvm.fr.inria.corese.core.Graph
Load = gateway.jvm.fr.inria.corese.core.load.Load Load = gateway.jvm.fr.inria.corese.core.load.Load
Property = gateway.jvm.fr.inria.corese.core.util.Property Property = gateway.jvm.fr.inria.corese.core.util.Property
QueryProcess = gateway.jvm.fr.inria.corese.core.query.QueryProcess
RDF = gateway.jvm.fr.inria.corese.core.logic.RDF
Transformer = gateway.jvm.fr.inria.corese.core.transform.Transformer Transformer = gateway.jvm.fr.inria.corese.core.transform.Transformer
# ==> Create graph, load ontology # ==> Create graph, load ontology
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment