Comment by wasabi991011

Comment by wasabi991011 2 days ago

9 replies

I don't think being one word longer ("uvx ruff format" vs "uv format") counts as being is worse.

I think it is much worse to create a special case that obscures the actual formatter being run and how it is being run (is ruff now preinstalled, or is it downloaded and cached in the same way as other tools?)

Feuilles_Mortes 2 days ago

But you have to know about ruff. I didn't, but I did know about uv.

  • wasabi991011 2 days ago

    Not really. If you know about uv, you know how to use "uv tool run", so you know how to use any formatter of your choice (which you can find easily on Google, arguably easier than reading the documentation and learning about uv format).

    • IshKebab 2 days ago

      He said "you have to know about ruff". You're not really refuting that by saying "no you don't, you can just google it".

    • jamienicol 2 days ago

      But I don’t know what the formatter of choice is. Nor do I care what it is. I just want to format my code

  • zelphirkalt 2 days ago

    Well, it is arguably worse to run an unknown, not version pinned, unconfigured formatter over your code and expect it to improve things, unless the code is an utter catastrophe in terms of formatting.

    • wiseowise a day ago

      It is completely irrelevant.

      You’re offloading responsibility to uv devs in this case.

      • zelphirkalt a day ago

        _You_ may find it irrelevant, but speak for yourself. I don't want dependencies, that are not version-pinned and checksummed running over my code. It is certainly not irrelevant to me.

        • wiseowise a day ago

          That’s for uv for decide. If you don’t like what it does - don’t use uv.

wiseowise a day ago

Let me rewrite your comment a little bit to make clearer what you’re saying.

> I don’t think additional complexity counts as being worse.

Yes, it does.