Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: agronholm/typeguard
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 016f813
Choose a base ref
...
head repository: agronholm/typeguard
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: efa1166
Choose a head ref
  • 11 commits
  • 10 files changed
  • 6 contributors

Commits on Sep 21, 2024

  1. 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.
    thetorpedodog authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    171314b View commit details
    Browse the repository at this point in the history
  2. 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.
    thetorpedodog authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    2c035b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac7ac34 View commit details
    Browse the repository at this point in the history
  4. [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]>
    pre-commit-ci[bot] and agronholm authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    c72b675 View commit details
    Browse the repository at this point in the history
  5. 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.
    antonagestam authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    604b08d View commit details
    Browse the repository at this point in the history
  6. 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]>
    3 people authored Sep 21, 2024
    Configuration menu
    Copy the full SHA
    cf25d56 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2024

  1. Configuration menu
    Copy the full SHA
    0c50de6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d812f2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    afad2c7 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2024

  1. 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.
    agronholm authored Oct 27, 2024
    Configuration menu
    Copy the full SHA
    b72794d View commit details
    Browse the repository at this point in the history
  2. Added release date

    agronholm committed Oct 27, 2024
    Configuration menu
    Copy the full SHA
    efa1166 View commit details
    Browse the repository at this point in the history
Loading