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

fix(types): improve typing #720

Merged
merged 4 commits into from
Jul 12, 2023
Merged

Commits on Jun 23, 2023

  1. fix(types): improve typing

    This fixes an issue with os.PathLike[str] being accepted but not present in the typing. It also uses collections.abc wherever possible instead of typing (can't fully change all of them until 3.9+ is supported, due to runtime requirements). It also uses Sequence/Mapping/Iterable for input parameters (you should be generic in input, specific in output) - doing so adds a few copy functions and improves safety a bit, fewer arguments are allowed to be mutated later this way). A few TypeVars were added - they can be replaced with native syntax in Python 3.12+.
    
    Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
    henryiii committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    160c47f View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Configuration menu
    Copy the full SHA
    9201e58 View commit details
    Browse the repository at this point in the history
  2. fix missing annotation

    theacodes committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    fc2b120 View commit details
    Browse the repository at this point in the history
  3. fix coverage in _clean_env

    theacodes committed Jul 12, 2023
    Configuration menu
    Copy the full SHA
    0940323 View commit details
    Browse the repository at this point in the history