Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minstall: help mypy out with our chown overriding
This is an annoying issue to look at, because shutil.chown has (for our purposes) two signatures: ```python chown(path: int | AnyPathLike, uid: int | str, group: None = None) -> None: ... chown(path: int | AnyPathLike, uid: None, group: int | str) -> None: ... ``` This is a really difficult thing to guarantee from our code. We more or less depend on being able to pass two parameters of `None | int | str`, and it working. In our only caller we do ensure that at least one of the variables is not None, but convincing mypy of this is more work than it's worth.
- Loading branch information