Skip to content

Commit 4fab0b2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f5fa16d commit 4fab0b2

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

BWBImportBot/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env python
22

33
"""
4-
__init__.py
5-
~~~~~~~~~~~
6-
:copyright: (c) 2020 by Internet Archive.
7-
:license: AGPL v3
4+
__init__.py
5+
~~~~~~~~~~~
6+
:copyright: (c) 2020 by Internet Archive.
7+
:license: AGPL v3
88
"""
99

1010
__title__ = "bwbimportbot"

ia-bulkmarc-bot/bulk-import.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env python3
22

33
"""
4-
Iterates over an archive.org bulk MARC item, such as OpenLibraries-Trent-MARCs,
5-
and imports all records in all of its MARC files to Open Library.
4+
Iterates over an archive.org bulk MARC item, such as OpenLibraries-Trent-MARCs,
5+
and imports all records in all of its MARC files to Open Library.
66
7-
USAGE: ./bulk-import.py <archive.org item id>
7+
USAGE: ./bulk-import.py <archive.org item id>
88
9-
Logs results to STDOUT
9+
Logs results to STDOUT
1010
"""
1111

1212
import argparse

old_onix_bot/xmltramp.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88

99

1010
class Node:
11-
def __init__(self, name: str, attrs: dict[str, str] | None = None, children: list[Any] | None = None) -> None:
11+
def __init__(
12+
self,
13+
name: str,
14+
attrs: dict[str, str] | None = None,
15+
children: list[Any] | None = None,
16+
) -> None:
1217
self._name = name
1318
self._attrs = attrs or {}
1419
self._children = children or []

0 commit comments

Comments
 (0)