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

Bump pre-commit hook for mirrors-mypy from v1.9.0 to v1.10.1 #467

Closed
wants to merge 1 commit into from

Conversation

rmartin16
Copy link
Owner

Automatically bumped pre-commit hook for mirrors-mypy from v1.9.0 to v1.10.1 and ran the update against the repo.

@rmartin16 rmartin16 added the dependencies Pull requests that update a dependency file label Jul 1, 2024
@rmartin16 rmartin16 force-pushed the autoupdates/pre-commit/mirrors-mypy branch from 6e84f5c to 9c1b047 Compare July 1, 2024 16:07
@rmartin16
Copy link
Owner Author

mypy is still busted for functools.wraps; sticking with v1.9.0:

mypy.....................................................................Failed
- hook id: mypy
- exit code: 1

src/qbittorrentapi/request.py:190: error: Argument 1 to "__call__" of "_Wrapped" has incompatible type "str"; expected "QbittorrentSession"  [arg-type]
src/qbittorrentapi/transfer.py:220: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/transfer.py:230: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/transfer.py:255: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/transfer.py:265: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/transfer.py:275: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/transfer.py:285: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/torrents.py:1932: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/torrents.py:1947: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/torrents.py:1976: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/torrents.py:1991: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/torrents.py:2136: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/app.py:302: error: Missing positional argument "self" in call to "__call__" of "_Wrapped"  [call-arg]
src/qbittorrentapi/app.py:354: error: Need type annotation for "getDirectoryContent"  [var-annotated]
Found 14 errors in 4 files (checked 16 source files)

@rmartin16 rmartin16 closed this Jul 1, 2024
@rmartin16 rmartin16 deleted the autoupdates/pre-commit/mirrors-mypy branch July 1, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant