Skip to content

Commit cae033e

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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/lc_marc_update.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
import httplib
1010
import lxml.etree
1111
from lxml import etree
12-
13-
from openlibrary import config
1412
from openlibrary.catalog.importer.scribe import BadImport
1513
from openlibrary.catalog.read_rc import read_rc # noqa: F401 side effects may be needed
1614

15+
from openlibrary import config
16+
1717
parser = argparse.ArgumentParser(description='Library of Congress MARC update')
1818
parser.add_argument('--config', default='openlibrary.yml')
1919
args = parser.parse_args()

scripts/monitoring/haproxy_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async def main(
107107
dry_run=True,
108108
fetch_freq=10,
109109
commit_freq=30,
110-
agg: Literal['max', 'min', 'sum', None] = None,
110+
agg: Literal['max', 'min', 'sum'] | None = None,
111111
):
112112
graphite_address_tuple = tuple(graphite_address.split(':', 1))
113113
graphite_address_tuple = (graphite_address_tuple[0], int(graphite_address_tuple[1]))

0 commit comments

Comments
 (0)