Skip to content

Commit 63de50e

Browse files
committed
Run and apply pre-commit autoupdate
This patch isolates a change needed to get patch-releases atop 0.6.0 to pass Continuous Integration. This patch alone will not pass CI; see the following octopus merge for a commit that passes CI. No effects were observed on Make-managed files. Signed-off-by: Alex Nelson <[email protected]>
1 parent 5073694 commit 63de50e

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 22.3.0
3+
rev: 23.12.0
44
hooks:
55
- id: black
66
- repo: https://github.com/pycqa/flake8
7-
rev: 4.0.1
7+
rev: 6.1.0
88
hooks:
99
- id: flake8
1010
- repo: https://github.com/pycqa/isort
11-
rev: 5.10.1
11+
rev: 5.13.2
1212
hooks:
1313
- id: isort
1414
name: isort (python)

case_utils/case_file/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
DEFAULT_PREFIX = "http://example.org/kb/"
4141

42+
4243
# Shortcut syntax for defining an immutable named tuple is noted here:
4344
# https://docs.python.org/3/library/typing.html#typing.NamedTuple
4445
# via the "See also" box here: https://docs.python.org/3/library/collections.html#collections.namedtuple

case_utils/case_sparql_construct/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def main() -> None:
9898
construct_query_result = in_graph.query(construct_query_object)
9999
_logger.debug("type(construct_query_result) = %r." % type(construct_query_result))
100100
_logger.debug("len(construct_query_result) = %d." % len(construct_query_result))
101-
for (row_no, row) in enumerate(construct_query_result):
101+
for row_no, row in enumerate(construct_query_result):
102102
if row_no == 0:
103103
_logger.debug("row[0] = %r." % (row,))
104104
out_graph.add(row)

case_utils/case_sparql_select/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ def main() -> None:
110110
select_query_object = rdflib.plugins.sparql.prepareQuery(
111111
select_query_text, initNs=nsdict
112112
)
113-
for (row_no, row) in enumerate(graph.query(select_query_object)):
113+
for row_no, row in enumerate(graph.query(select_query_object)):
114114
tally = row_no + 1
115115
record = []
116-
for (column_no, column) in enumerate(row):
116+
for column_no, column in enumerate(row):
117117
if column is None:
118118
column_value = ""
119119
elif (

0 commit comments

Comments
 (0)