MENU

Fun & Interesting

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

BugBytes 7,273 5 months ago
Video Not Working? Fix It Now

โ˜•๏ธ ๐—•๐˜‚๐˜† ๐—บ๐—ฒ ๐—ฎ ๐—ฐ๐—ผ๐—ณ๐—ณ๐—ฒ๐—ฒ: To support the channel and encourage new videos, please consider buying me a coffee here: https://ko-fi.com/bugbytes โญTop resource to learn Python - https://datacamp.pxf.io/kOjKkV โญ In this video, we'll look at Tool Management with uv, and will demonstrate using Ruff and Pytest within a FastAPI application that uses uv for package and project management. ๐Ÿ“Œ ๐—–๐—ต๐—ฎ๐—ฝ๐˜๐—ฒ๐—ฟ๐˜€: 00:00 Intro 03:33 Ruff and uv 06:19 Ruff configuration in pyproject.toml 09:53 Pytest, FastAPI and uv ๐—ฆ๐—ผ๐—ฐ๐—ถ๐—ฎ๐—น ๐— ๐—ฒ๐—ฑ๐—ถ๐—ฎ: ๐Ÿ“– Blog: https://bugbytes.io/posts/ ๐Ÿ‘พ Github: https://github.com/bugbytes-io/ ๐Ÿฆ Twitter: https://twitter.com/bugbytesio ๐Ÿ“š ๐—™๐˜‚๐—ฟ๐˜๐—ต๐—ฒ๐—ฟ ๐—ฟ๐—ฒ๐—ฎ๐—ฑ๐—ถ๐—ป๐—ด ๐—ฎ๐—ป๐—ฑ ๐—ถ๐—ป๐—ณ๐—ผ๐—ฟ๐—บ๐—ฎ๐˜๐—ถ๐—ผ๐—ป: uv docs: https://docs.astral.sh/uv Uv Tools: https://docs.astral.sh/uv/guides/tools/ uv Features: https://docs.astral.sh/uv/getting-started/features/ FastAPI Testing: https://fastapi.tiangolo.com/tutorial/testing/ #python #fastapi #pytest

Comment