Skip to content

Commit 7c8e35e

Browse files
Merge pull request #2 from casework/upgrade_type_review
Upgrade type review
2 parents fc36d16 + 4e2a583 commit 7c8e35e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

case_example_mapping/rdf_to_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from rdflib.namespace import XSD
55

66

7-
def main():
7+
def main() -> None:
88
# Process the command line arguments to get the output path
99
if len(sys.argv) == 1:
1010
print(f"Insufficient arguments. Usage is {sys.argv[0]} output_path")

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ license_files =
1717
[options]
1818
include_package_data = true
1919
install_requires =
20-
rdflib >= 6.0.2
20+
rdflib >= 6.2.0
2121
packages = case_example_mapping
2222
python_requires = >=3.7
2323

tests/case_output_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
class CASEOutputTests(unittest.TestCase):
8-
def test_graphs_exist(self):
8+
def test_graphs_exist(self) -> None:
99
"""
1010
Identifies all CASE graph files within the ./output directory and ensures there
1111
are at least two.
@@ -19,7 +19,7 @@ def test_graphs_exist(self):
1919
# Ensure there were two graph files as expected
2020
self.assertEqual(2, len(files))
2121

22-
def test_triples_exist(self):
22+
def test_triples_exist(self) -> None:
2323
"""
2424
Identifies all CASE graph files within the ./output directory and ensures they
2525
contain at least one triple.

0 commit comments

Comments
 (0)