Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: check-yaml
- id: detect-private-key
Expand All @@ -24,34 +24,34 @@ repos:
- --markdown-linebreak-ext=md

- repo: https://github.com/MarcoGorelli/auto-walrus
rev: v0.2.2
rev: 0.3.4
hooks:
- id: auto-walrus

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.3.2
rev: v0.12.12
hooks:
- id: ruff # See pyproject.toml for args
# args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/psf/black
rev: 24.2.0
rev: 25.1.0
hooks:
- id: black # See pyproject.toml for args

- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.4.1
hooks:
- id: codespell # See pyproject.toml for args
additional_dependencies:
- tomli

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 1.7.0
rev: v2.6.0
hooks:
- id: pyproject-fmt

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.16
rev: v0.24.1
hooks:
- id: validate-pyproject
8 changes: 4 additions & 4 deletions BWBImportBot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env python

"""
__init__.py
~~~~~~~~~~~
:copyright: (c) 2020 by Internet Archive.
:license: AGPL v3
__init__.py
~~~~~~~~~~~
:copyright: (c) 2020 by Internet Archive.
:license: AGPL v3
"""

__title__ = "bwbimportbot"
Expand Down
8 changes: 4 additions & 4 deletions ia-bulkmarc-bot/bulk-import.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/usr/bin/env python3

"""
Iterates over an archive.org bulk MARC item, such as OpenLibraries-Trent-MARCs,
and imports all records in all of its MARC files to Open Library.
Iterates over an archive.org bulk MARC item, such as OpenLibraries-Trent-MARCs,
and imports all records in all of its MARC files to Open Library.

USAGE: ./bulk-import.py <archive.org item id>
USAGE: ./bulk-import.py <archive.org item id>

Logs results to STDOUT
Logs results to STDOUT
"""

import argparse
Expand Down
254 changes: 0 additions & 254 deletions old-onix-bot/onix-import.py

This file was deleted.

Loading