Skip to content

Commit 141328b

Browse files
committed
Add resolved_context to format target and apply
1 parent af5474f commit 141328b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ upgrade-submodules:
1010
git submodule update --remote --init --recursive
1111

1212
# TODO: Expand to lib/ and tests/ as linting issues are resolved.
13-
RUFF_TARGET = lib/pyld/context_resolver.py lib/pyld/identifier_issuer.py lib/pyld/iri_resolver.py lib/pyld/nquads.py
13+
RUFF_TARGET = lib/pyld/context_resolver.py lib/pyld/identifier_issuer.py lib/pyld/iri_resolver.py lib/pyld/nquads.py lib/pyld/resolved_context.py
1414

1515
lint:
1616
ruff check $(RUFF_TARGET)

lib/pyld/resolved_context.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212

1313
MAX_ACTIVE_CONTEXTS = 10
1414

15+
1516
class ResolvedContext:
1617
"""
1718
A cached contex document, with a cache indexed by referencing active context.
1819
"""
20+
1921
def __init__(self, document):
2022
"""
2123
Creates a ResolvedContext with caching for processed contexts

0 commit comments

Comments
 (0)