Skip to content

Commit 8323558

Browse files
committed
Apply formatting to jsonld.py and other remaining source files
1 parent 0a35831 commit 8323558

4 files changed

Lines changed: 1610 additions & 911 deletions

File tree

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 lib/pyld/resolved_context.py lib/pyld/canon.py tests/*.py
13+
RUFF_TARGET = lib/pyld/*.py tests/*.py
1414

1515
lint:
1616
ruff check $(RUFF_TARGET)

lib/pyld/__about__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# PyLD JSON-LD meta data
22

3-
__all__ = [
4-
'__copyright__', '__license__', '__version__'
5-
]
3+
__all__ = ['__copyright__', '__license__', '__version__']
64

75
__copyright__ = 'Copyright (c) 2011-2024 Digital Bazaar, Inc.'
86
__license__ = 'New BSD license'

lib/pyld/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
""" The PyLD module is used to process JSON-LD. """
1+
"""The PyLD module is used to process JSON-LD."""
2+
23
from . import jsonld
34
from .context_resolver import ContextResolver
45

0 commit comments

Comments
 (0)