Skip to content

Conversation

@kratsg
Copy link
Contributor

@kratsg kratsg commented Sep 30, 2025

Pull Request Description

This is pulled from #2566 to clean up the code to get the typehints passing.

Checklist Before Requesting Reviewer

  • Tests are passing
  • "WIP" removed from the title of the pull request
  • Selected an Assignee for the PR to be responsible for the log summary

Before Merging

For the PR Assignees:

  • Summarize commit messages into a comprehensive review of the PR
* Clean up source code to get mypy happy

@kratsg kratsg self-assigned this Sep 30, 2025
@kratsg
Copy link
Contributor Author

kratsg commented Sep 30, 2025

Linting and pre-commit runs fine -- so these changes improve the type-checking already.

@matthewfeickert matthewfeickert changed the title chore: clean up original code to get typehints passing chore: Clean up original code to get typehints passing Sep 30, 2025
@github-project-automation github-project-automation bot moved this to In progress in pyhf v0.8.0 Oct 14, 2025
@matthewfeickert matthewfeickert added the type checking Related to types and type checking label Oct 14, 2025
@kratsg
Copy link
Contributor Author

kratsg commented Nov 4, 2025

this will fail on 3.8. so i don't think it can be pulled out cleanly.

@matthewfeickert
Copy link
Member

this will fail on 3.8. so i don't think it can be pulled out cleanly.

I don't think this is needed as it isn't required in PR #2625.

@kratsg kratsg closed this Nov 5, 2025
@github-project-automation github-project-automation bot moved this from In progress to Done in pyhf v0.8.0 Nov 5, 2025
@kratsg kratsg deleted the fix/srcCode branch November 5, 2025 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type checking Related to types and type checking

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants