Skip to content

Commit

Permalink
Merge branch 'master' into fix-mypy-checks
Browse files Browse the repository at this point in the history
  • Loading branch information
BoboTiG authored Sep 3, 2024
2 parents 4abf884 + 4427aa4 commit 7e0e92f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ Changelog

2024-xx-xx • `full history <https://github.com/gorakhargosh/watchdog/compare/v5.0.1...HEAD>`__

- Enable OS specific Mypy checks
- Thanks to our beloved contributors: @BoboTiG, @
- Enable OS specific Mypy checks (`#1064 <https://github.com/gorakhargosh/watchdog/pull/1064>`__)
- [watchmedo] Fix ``tricks`` argument type of ``schedule_tricks()`` (`#1063 <https://github.com/gorakhargosh/watchdog/pull/1063>`__)
- Thanks to our beloved contributors: @gnought, @BoboTiG

5.0.1
~~~~~
Expand Down
2 changes: 1 addition & 1 deletion src/watchdog/watchmedo.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def observe_with(
observer.join()


def schedule_tricks(observer: BaseObserver, tricks: dict, pathname: str, *, recursive: bool) -> None:
def schedule_tricks(observer: BaseObserver, tricks: list[dict], pathname: str, *, recursive: bool) -> None:
"""Schedules tricks with the specified observer and for the given watch
path.
Expand Down

0 comments on commit 7e0e92f

Please sign in to comment.