-
-
Notifications
You must be signed in to change notification settings - Fork 122
Comparing changes
Open a pull request
base repository: agronholm/typeguard
base: 016f813
head repository: agronholm/typeguard
compare: efa1166
- 11 commits
- 10 files changed
- 6 contributors
Commits on Sep 21, 2024
-
Fixed tests to work on Windows (#488)
A few tests fail on a clean checkout on Windows due to formatting differences (CRLF newlines and \ in filenames). These should now pass on both Windows and Unix/Linux platforms.
Configuration menu - View commit details
-
Copy full SHA for 171314b - Browse repository at this point
Copy the full SHA 171314bView commit details -
Assume that typing_extensions is always installed (#487)
Because we strictly depend upon typing_extensions both explicitly and implicitly, we don't need the code which checks if it isn't installed.
Configuration menu - View commit details
-
Copy full SHA for 2c035b3 - Browse repository at this point
Copy the full SHA 2c035b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac7ac34 - Browse repository at this point
Copy the full SHA ac7ac34View commit details -
[pre-commit.ci] pre-commit autoupdate (#471)
updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.5 → v0.5.0](astral-sh/ruff-pre-commit@v0.4.5...v0.5.0) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](pre-commit/mirrors-mypy@v1.10.0...v1.10.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Alex Grönholm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c72b675 - Browse repository at this point
Copy the full SHA c72b675View commit details -
Use get_protocol_members in protocol checking (#490)
This changes `check_protocol()` to make use of `get_protocol_members` from typing-extensions. This allows removing an existing hard-coded exclusion list for attributes existing on Protocol, but also handles the cases `__orig_bases__` and `__weakref__` that was breaking when checking intersecting protocols (a subclass of two or more protocols). This has the effect of turning some false positives into true negatives, but it also leaves some false negatives. To make that clear, xfail test cases are added for the resulting false negatives.
Configuration menu - View commit details
-
Copy full SHA for 604b08d - Browse repository at this point
Copy the full SHA 604b08dView commit details -
Fixed annotation for typeguard_ignore() to match one for typing.no_ty…
…pe_check() (#485) Co-authored-by: Vasily Zakharov <[email protected]> Co-authored-by: Alex Grönholm <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cf25d56 - Browse repository at this point
Copy the full SHA cf25d56View commit details
Commits on Oct 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0c50de6 - Browse repository at this point
Copy the full SHA 0c50de6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d812f2e - Browse repository at this point
Copy the full SHA d812f2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for afad2c7 - Browse repository at this point
Copy the full SHA afad2c7View commit details
Commits on Oct 27, 2024
-
Added proper Protocol method signature checking (#496)
It's not good enough to pretend we can use `check_callable()` to check method signature compatibility. Fixes #465.
Configuration menu - View commit details
-
Copy full SHA for b72794d - Browse repository at this point
Copy the full SHA b72794dView commit details -
Configuration menu - View commit details
-
Copy full SHA for efa1166 - Browse repository at this point
Copy the full SHA efa1166View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 016f813...efa1166