Skip to content

Commit

Permalink
Update pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Buried-In-Code committed Nov 23, 2024
1 parent 719ccbf commit 82d1d1e
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
8 changes: 5 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.1
rev: v0.8.0
hooks:
- id: ruff-format
- id: ruff
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.18
rev: 0.7.19
hooks:
- id: mdformat
additional_dependencies:
Expand Down Expand Up @@ -41,8 +41,10 @@ repos:
- id: trailing-whitespace
args:
- --markdown-linebreak-ext=md
exclude_types:
- svg
- repo: https://github.com/pappasam/toml-sort
rev: v0.23.1
rev: v0.24.2
hooks:
- id: toml-sort
args:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Unlike other tagging tools, Perdoo employs a manual approach when metadata files

</details>
<details><summary>Perdoo View</summary>

<!-- RICH-CODEX hide_command: true -->
![`uv run Perdoo view --help`](docs/img/perdoo-view.svg)

Expand Down
2 changes: 1 addition & 1 deletion perdoo/archives/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
__all__ = [
"BaseArchive",
"CBRArchive",
"CB7Archive",
"CBRArchive",
"CBTArchive",
"CBZArchive",
"get_archive",
Expand Down
2 changes: 1 addition & 1 deletion perdoo/metadata/comic_info.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__all__ = ["YesNo", "Manga", "AgeRating", "PageType", "Page", "ComicInfo"]
__all__ = ["AgeRating", "ComicInfo", "Manga", "Page", "PageType", "YesNo"]

from datetime import date
from enum import Enum
Expand Down
2 changes: 1 addition & 1 deletion perdoo/metadata/metron_info.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
__all__ = [
"GTIN",
"AgeRating",
"AlternativeName",
"Arc",
"Credit",
"Format",
"GTIN",
"Id",
"InformationSource",
"MetronInfo",
Expand Down
6 changes: 3 additions & 3 deletions perdoo/settings.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
__all__ = [
"ComicInfo",
"MetronInfo",
"Metadata",
"Output",
"Comicvine",
"LeagueOfComicGeeks",
"Marvel",
"Metadata",
"Metron",
"MetronInfo",
"Output",
"Service",
"Services",
"Settings",
Expand Down
6 changes: 3 additions & 3 deletions perdoo/utils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
__all__ = [
"SeriesSearch",
"IssueSearch",
"Search",
"SeriesSearch",
"delete_empty_folders",
"flatten_dict",
"list_files",
"sanitize",
"flatten_dict",
"delete_empty_folders",
]

import logging
Expand Down

0 comments on commit 82d1d1e

Please sign in to comment.