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 typing in click.secho function #2175

Merged
merged 1 commit into from Jan 16, 2022
Merged

Conversation

Jonxslays
Copy link
Contributor

This pull request fixes a bug in the typing of click.secho

I have opted not to add any testing, as adding an additional dependency (pyright) to confirm this issue seems a little out of scope for this PR.

Checklist:

  • Add tests that demonstrate the correct behavior of the change. Tests should fail without the change.
  • Add or update relevant docs, in the docs folder and in code.
  • Add an entry in CHANGES.rst summarizing the change and linking to the issue.
  • Add .. versionchanged:: entries in any relevant code docs.
  • Run pre-commit hooks and fix any issues.
  • Run pytest and tox, no tests failed.

@davidism
Copy link
Member

Duplicate of #2173

@davidism davidism closed this Jan 16, 2022
@Jonxslays
Copy link
Contributor Author

Sorry about that, there was no issue related to that pull request.

@parafoxia
Copy link

I think this PR should take precedence over the previous as it better specifies the expected type.

@davidism davidism added this to the 8.0.4 milestone Jan 16, 2022
@davidism davidism changed the base branch from main to 8.0.x January 16, 2022 17:15
@davidism davidism merged commit 1c58883 into pallets:8.0.x Jan 16, 2022
@Jonxslays Jonxslays deleted the bugfix/secho branch January 16, 2022 17:45
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

click.secho is improperly typed
3 participants