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

Ruff use json-lines output format #4656

Merged
merged 3 commits into from
Dec 10, 2023
Merged

Ruff use json-lines output format #4656

merged 3 commits into from
Dec 10, 2023

Conversation

0xhtml
Copy link
Contributor

@0xhtml 0xhtml commented Nov 21, 2023

Using the json-lines output format allows for setting of the end_line, end_col and code field of the handle output.

Additionally, the first letter of the code is used to determine the type field.

Using the json-lines output format allows for setting of the end_line,
end_col and code field of the handle output.

Additionally, the first letter of the code is used to determine the type
field.
w0rp
w0rp previously approved these changes Dec 10, 2023
Copy link
Member

@w0rp w0rp left a comment

Choose a reason for hiding this comment

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

I check other linters more carefully for changes to arguments, but this is probably good and I'll take this. I don't yet consider ruff to be stable enough to be used in my day job or for Dense Analysis code, but I'm looking forward to the future where after a few more bug fixes it can completely replace flake8 and others for me, because the improvements to execution time are great.

Cheers! 🍻

ale_linters/python/ruff.vim Outdated Show resolved Hide resolved
@w0rp w0rp merged commit 9a23ec1 into dense-analysis:master Dec 10, 2023
7 checks passed
@0xhtml 0xhtml deleted the ruff-json branch December 10, 2023 17:55
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.

2 participants