Skip to content

Enable ruff ANN ruleset to warn about missing type annotations #1424

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

Merged
merged 1 commit into from
May 25, 2025

Conversation

tleonhardt
Copy link
Member

@tleonhardt tleonhardt commented May 25, 2025

Enable ruff ANN ruleset to warn about missing type annotations for arguments and return values.

However, globally disabled rule ANN401 which disallows use of typing.Any because that is just too strict for now.

Also disabled all missing annotations warnings in the following directories (done previously):

  • examples/
  • plugins/
  • tests/
  • tests_isolated/

…guments and return values

However, globally disabled rule ANN401 which disallows use of `typing.Any` because that is just too strict for now.
@tleonhardt tleonhardt merged commit e68746b into master May 25, 2025
47 checks passed
@tleonhardt tleonhardt deleted the ruff-ann branch May 25, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant