Skip to content

Comments

repo: which(..., required=True)#3421

Merged
alalazo merged 3 commits intodevelopfrom
hs/typing/which
Feb 23, 2026
Merged

repo: which(..., required=True)#3421
alalazo merged 3 commits intodevelopfrom
hs/typing/which

Conversation

@haampie
Copy link
Member

@haampie haampie commented Feb 14, 2026

  • which("x") returns Optional[Executable]
  • which("x", required=True) returns Executable

Before:

% mypy --check-untyped-defs  | wc -l
    1958

After:

% mypy --check-untyped-defs  | wc -l
    1329

* `which("x")` returns `Optional[Executable]`
* `which("x", required=True)` returns `Executable`

Signed-off-by: Harmen Stoppels <harmenstoppels@gmail.com>
Signed-off-by: Harmen Stoppels <harmenstoppels@gmail.com>
@alalazo alalazo enabled auto-merge (squash) February 16, 2026 09:03
@tldahlgren tldahlgren self-assigned this Feb 17, 2026
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@alalazo
Copy link
Member

alalazo commented Feb 23, 2026

Force merging this one. It seems much more effective to fix point failures for this trivial change, that re-run entire pipelines (current failures are not build related).

@alalazo alalazo disabled auto-merge February 23, 2026 13:45
@alalazo alalazo merged commit 4d9f7c9 into develop Feb 23, 2026
26 of 27 checks passed
@alalazo alalazo deleted the hs/typing/which branch February 23, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants