awesome-python icon indicating copy to clipboard operation
awesome-python copied to clipboard

add ruff

Open peidrao opened this issue 2 years ago • 22 comments

What is this Python project?

This is in python library for linter

What's the difference between this Python project and similar ones?

Bar chart with benchmark results

  • 10-100x faster than existing linters
  • Installable via pip
  • hammer_and_wrench pyproject.toml support
  • Native re-implementations of popular Flake8 plugins, like flake8-bugbear
  • Monorepo-friendly configuration via hierarchical and cascading settings

--

Anyone who agrees with this pull request could submit an Approve review to it.

peidrao avatar Dec 30 '22 18:12 peidrao

0l

On Dec 30, 2022 6:23 PM, "Pedro Fonseca" @.***> wrote:

What is this Python project?

This is in python library for linter What's the difference between this Python project and similar ones?

[image: Bar chart with benchmark results] https://user-images.githubusercontent.com/1309177/187504482-6d9df992-a81d-4e86-9f6a-d958741c8182.svg

  • 10-100x faster than existing linters
  • Installable via pip
  • hammer_and_wrench pyproject.toml support
  • Native re-implementations of popular Flake8 plugins, like flake8-bugbear https://pypi.org/project/flake8-bugbear/
  • Monorepo-friendly configuration via hierarchical and cascading settings

--

Anyone who agrees with this pull request could submit an Approve review to it.

You can view, comment on, or merge this pull request online at:

https://github.com/vinta/awesome-python/pull/2292 Commit Summary

File Changes

(1 file https://github.com/vinta/awesome-python/pull/2292/files)

Patch Links:

  • https://github.com/vinta/awesome-python/pull/2292.patch
  • https://github.com/vinta/awesome-python/pull/2292.diff

— Reply to this email directly, view it on GitHub https://github.com/vinta/awesome-python/pull/2292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX6RBONI7ZHDUUEAERK2M6TWP4SCBANCNFSM6AAAAAATNB6F44 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Alao-legalboy avatar Dec 31 '22 11:12 Alao-legalboy

:+1:

bowmanjd avatar Feb 24 '23 11:02 bowmanjd

This should be merge. Great linter.

Kub-AT avatar May 10 '23 09:05 Kub-AT

Agree with @Kub-AT . This PR should get merged as Ruff is getting more popular

Owen-CH-Leung avatar May 14 '23 07:05 Owen-CH-Leung

👍🏻

grigoryalan avatar May 24 '23 04:05 grigoryalan

Bumping this issue, Ruff is my favorite and go to linter it should be featured on here surprised it is not

Commando-Brando avatar Oct 12 '23 15:10 Commando-Brando

Bumping this issue, Ruff is my favorite and go to linter it should be featured on here surprised it is not

Agreed! So... did you approve this PR so we can get enough votes to move it through, @Commando-Brando ?

Anyone who agrees with this pull request could submit an Approve review to it.

bowmanjd avatar Oct 12 '23 16:10 bowmanjd

@bowmanjd didn't read the whole issue, oops, but it has been approved, cheers!

Commando-Brando avatar Oct 12 '23 16:10 Commando-Brando

This should be merge. Great linter.

Agreed! @Kub-AT could you approve the PR (that is what counts as a vote)

bowmanjd avatar Oct 12 '23 19:10 bowmanjd

Agree with @Kub-AT . This PR should get merged as Ruff is getting more popular

Yes, indeed! Could you approve the PR, @Owen-CH-Leung, then (approval is what counts as a vote; we need 20 to see ruff make the awesome list)

bowmanjd avatar Oct 12 '23 19:10 bowmanjd

more 3 likes :pray:

peidrao avatar Oct 25 '23 12:10 peidrao

@vinta 20 likes

peidrao avatar Oct 25 '23 23:10 peidrao

Thanks for a quick update, @peidrao! Also, it might be worth considering moving ruff to the Code Formatters section down below.

Jamim avatar Dec 12 '23 23:12 Jamim

@peidrao Some conflicts appeared, I imagine this is not the first time. Also worth mentioning that ruff includes a formatter now - rules are quite similar to black, except it is 100 times faster.

@vinta This PR is 2 years old while ruff popularity is exploding. How is it not merged yet?

lechevalier avatar May 10 '24 09:05 lechevalier

BTW, in the meantime even the CPython repository started using ruff:

https://github.com/python/cpython/blob/7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a/.pre-commit-config.yaml#L2-L12

aureliojargas avatar May 10 '24 11:05 aureliojargas

@peidrao can you do a rebase and a squash?

AdrianCert avatar Jun 01 '24 17:06 AdrianCert

@peidrao can you do a rebase and a squash?

I have completed the rebase and squash.

peidrao avatar Jun 02 '24 14:06 peidrao

@vinta ready to merge.

peidrao avatar Jun 02 '24 14:06 peidrao

@vinta ready to merge.

Amri588 avatar Jun 02 '24 14:06 Amri588

@vinta ready to merge.

Amri588 avatar Jun 02 '24 14:06 Amri588

@peidrao can you do a rebase and a squash?

I have completed the rebase and squash.

@vinta ready to merge

AdrianCert avatar Jun 02 '24 14:06 AdrianCert

What is this Python project?

This is in python library for linter

What's the difference between this Python project and similar ones?

Bar chart with benchmark results

  • 10-100x faster than existing linters
  • Installable via pip
  • hammer_and_wrench pyproject.toml support
  • Native re-implementations of popular Flake8 plugins, like flake8-bugbear
  • Monorepo-friendly configuration via hierarchical and cascading settings

--

Anyone who agrees with this pull request could submit an Approve review to it.

Amri588 avatar Jun 02 '24 16:06 Amri588