Skip to content

Re-enable displaying type errors in pyrefly#5046

Open
sivel wants to merge 4 commits into
dense-analysis:masterfrom
sivel:pyrefly-display-type-errors
Open

Re-enable displaying type errors in pyrefly#5046
sivel wants to merge 4 commits into
dense-analysis:masterfrom
sivel:pyrefly-display-type-errors

Conversation

@sivel

@sivel sivel commented Sep 9, 2025

Copy link
Copy Markdown

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

sivel commented Sep 22, 2025

Copy link
Copy Markdown
Author

cc @oliverralbertini @connernilsen if either of you are interested

@connernilsen connernilsen left a comment

Copy link
Copy Markdown

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!

Comment thread doc/ale-python.txt Outdated
Comment thread doc/ale-python.txt

@oliverralbertini oliverralbertini left a comment

Copy link
Copy Markdown
Contributor

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

sivel commented Nov 12, 2025

Copy link
Copy Markdown
Author

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

@hsanson hsanson left a comment

Copy link
Copy Markdown
Contributor

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.

@w0rp

w0rp commented May 12, 2026

Copy link
Copy Markdown
Member

I'll paste this in every open PR: We finally managed to migrate CI checks for Windows from AppVeyor to GitHub Actions, and we've updated the minimum supported Vim version to 8.2. (Thought Vim 8.0 might happen to work for some.) In order to get checks to run again for a PR you'll need to rebase or merge.

@sivel sivel force-pushed the pyrefly-display-type-errors branch from b3fa0a4 to ab40915 Compare May 13, 2026 17:53
@w0rp w0rp self-requested a review May 14, 2026 19:58
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.

5 participants