Skip to content

Conversation

@sivel
Copy link

@sivel sivel commented Sep 9, 2025

In pyrefly 0.31.1 a new configuration python.pyrefly.displayTypeErrors was added, changing the previous default behavior.

This PR adds the appropriate LSP configuration to restore the behavior for the ale pyrefly linter, including a new python_pyrefly_config option to allow further configuration of the LSP.

@sivel
Copy link
Author

sivel commented Sep 22, 2025

cc @oliverralbertini @connernilsen if either of you are interested

Copy link

@connernilsen connernilsen left a comment

Choose a reason for hiding this comment

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

Thanks for doing this @sivel! Left two comments around documentation clarity, but otherwise looks great!

Copy link
Contributor

@oliverralbertini oliverralbertini left a comment

Choose a reason for hiding this comment

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

Thanks for adding this.

@hsanson hsanson closed this Oct 26, 2025
@hsanson hsanson reopened this Oct 26, 2025
@sivel
Copy link
Author

sivel commented Nov 12, 2025

@hsanson I've addressed the linting issue that CI uncovered. I think the tests can be kicked off again.

Copy link
Contributor

@hsanson hsanson left a comment

Choose a reason for hiding this comment

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

Looks good, but there are some linter errors that need fixing.

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.

4 participants