Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ repos:
- id: check-added-large-files

- repo: https://github.com/rbubley/mirrors-prettier
rev: bc7af46104f0f5368b95878decf720f9f00c2559 # frozen: v3.4.2
rev: 787fb9f542b140ba0b2aced38e6a3e68021647a3 # frozen: v3.5.3
hooks:
- id: prettier
files: \.(html|md|yml|yaml|toml)
args: [--prose-wrap=preserve]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 89c421dff2e1026ba12cdb9ebd731f4a83aa8021 # frozen: v0.8.6
rev: 971923581912ef60a6b70dbf0c3e9a39563c9d47 # frozen: v0.11.4
hooks:
- id: ruff
args: ["--fix", "--show-fixes", "--exit-non-zero-on-fix"]
- id: ruff-format

- repo: https://github.com/codespell-project/codespell
rev: "193cd7d27cd571f79358af09a8fb8997e54f8fff" # frozen: v2.3.0
rev: "63c8f8312b7559622c0d82815639671ae42132ac" # frozen: v2.4.1
hooks:
- id: codespell
2 changes: 1 addition & 1 deletion yaml2ics.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def event_from_yaml(event_yaml: dict, tz: datetime.tzinfo = None) -> ics.Event:
)

if "until" not in repeat:
raise RuntimeError("Error: must specify end date for " "repeating events")
raise RuntimeError("Error: must specify end date for repeating events")

# This causes zero-length events, I guess overriding whatever duration
# might have been specified
Expand Down
Loading