Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #1322

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
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
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Expand All @@ -9,7 +9,7 @@ repos:
- id: check-added-large-files
- id: debug-statements
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.7.0
rev: v1.14.1
hooks:
- id: mypy
additional_dependencies:
Expand All @@ -20,12 +20,12 @@ repos:
- types-setuptools
- types-python-dateutil
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.1.5'
rev: 'v0.9.3'
hooks:
- id: ruff
args: ["--fix"]
- repo: https://github.com/netromdk/vermin
rev: v1.5.2
rev: v1.6.0
hooks:
- id: vermin
args: ['-t=3.8-', '--violations']
2 changes: 1 addition & 1 deletion khal/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def __init__(
set_focus_date_callback=None,
**kwargs) -> None:
self._init: bool = True
self.parent: 'ClassicView' = parent
self.parent: ClassicView = parent
self.delete_status = delete_status
self.toggle_delete_instance = toggle_delete_instance
self.toggle_delete_all = toggle_delete_all
Expand Down
2 changes: 1 addition & 1 deletion khal/ui/calendarwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def __init__(self, walker: 'CalendarWalker') -> None:
self.on_press = walker.on_press
self._marked: Optional[MarkType] = None
self._pos_old: Optional[Tuple[int, int]] = None
self.body: 'CalendarWalker'
self.body: CalendarWalker
super().__init__(walker)

@property
Expand Down
Loading