Skip to content

Commit

Permalink
update and drop <3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
eggplants committed Dec 10, 2024
1 parent 7954c9a commit 1047072
Show file tree
Hide file tree
Showing 4 changed files with 352 additions and 334 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.2
rev: v0.8.2
hooks:
- id: ruff
args: [--fix]
Expand All @@ -51,7 +51,7 @@ repos:
- types-humanfriendly
- types-requests
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
rev: v0.43.0
hooks:
- id: markdownlint-fix
exclude: ^.github/PULL_REQUEST_TEMPLATE.md
Expand Down
4 changes: 2 additions & 2 deletions dojinvoice_db/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import asyncio
from pathlib import Path
from typing import List, cast
from typing import cast

from .database import DojinvoiceDatabase
from .download import Download
Expand Down Expand Up @@ -36,7 +36,7 @@ def main() -> None:
print(f"\033[2K\r\033[31mNow: {path}\033[0m") # noqa: T201
d = asyncio.run(p.parse(path, page_idx))
print(" =>committing to DB...", end="") # noqa: T201
db.push(cast(List[DlsiteDict], d))
db.push(cast(list[DlsiteDict], d))

print("DONE:", site) # noqa: T201

Expand Down
Loading

0 comments on commit 1047072

Please sign in to comment.