uv - Ruff + Pytest Tool Management (in a FastAPI Project)

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 22

  • @bugbytes3923
    @bugbytes3923  Месяц назад +2

    ☕ Buy a coffee: ko-fi.com/bugbytes
    ⭐Top resource to learn Python - datacamp.pxf.io/kOjKkV ⭐

  • @ale6au
    @ale6au Месяц назад +4

    Always great to watch your content, thanks!

  • @JohnMitchellCalif
    @JohnMitchellCalif 4 дня назад

    Super clear and useful! Subscribed.

  • @stef9019
    @stef9019 19 дней назад +1

    UV is great. As someone who doesn't use Python often, I would be interested in a "2025 Python dev setup" video or however you want to market it - my package will include UV and Ruff, but what about other things such as type checking?

  • @majestif
    @majestif Месяц назад +1

    Great explanation, clear and concise!

  • @MrRastow
    @MrRastow Месяц назад +4

    3:01 As of PEP 735, developement dependencies should now be specified in a [dependency-groups] table (instead of a tool specific table). UV has adopted this already, so typing `uv add --dev ruff` correctly adds the dependency to your pyproject.toml file.

    • @bugbytes3923
      @bugbytes3923  Месяц назад

      Ah - thanks for sharing that! Didn't know about it.

    • @JoaoPauloMacedo-cn1mc
      @JoaoPauloMacedo-cn1mc 20 дней назад

      What about Ruff configurations on toml file? Instead of [tool.ruff], should I use another template?

    • @MrRastow
      @MrRastow 20 дней назад +1

      @@JoaoPauloMacedo-cn1mc Using [tool.ruff] for configuration inside your pyproject.toml is perfectly fine. Or you could create a ruff.toml file and store your configuration in there.

    • @JoaoPauloMacedo-cn1mc
      @JoaoPauloMacedo-cn1mc 19 дней назад

      @@MrRastow Thank you, mate!

  • @feliperodrigues9104
    @feliperodrigues9104 Месяц назад +1

    Thx for the awesome video friend!!

  • @vijaynayak4874
    @vijaynayak4874 Месяц назад +1

    helpful 👍

  • @frameff9073
    @frameff9073 Месяц назад +1

    good thank

  • @Bigbren-v1p
    @Bigbren-v1p Месяц назад

    please make a video also for django how uv works for it :)

  • @drr-t7u
    @drr-t7u Месяц назад +1

    uv in django please