Skip to content

Commit 5ee4b99

Browse files
committed
refactor: eliminate unused imports
`XMLNS` was seen as unused in `rdflib/__init__.py` but this change adds it to `__all__` in that module so that it is not unused. This change also removes actual unused imports in `rdflib/namespace/__init__.py`.
1 parent 4940798 commit 5ee4b99

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rdflib/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
"TIME",
9393
"VANN",
9494
"VOID",
95+
"XMLNS",
9596
"XSD",
9697
"util",
9798
"plugin",

rdflib/namespace/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import json
21
import logging
3-
import sys
42
import warnings
53
from functools import lru_cache
64
from pathlib import Path

0 commit comments

Comments
 (0)