this post was submitted on 11 Sep 2023
12 points (92.9% liked)

Python

6393 readers
14 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago

I knew about everything except logger.exception(). I had no idea it existed but I'll start using it!

[–] cd_slash_rmrf 4 points 1 year ago

neat write up, I've also run into some of the errors that ruff throws (eg don't use f strings in logging) but didn't really know why.

thought it was cool the author said feel free to implement in ruff in the foot notes

[–] qwop 2 points 1 year ago

It'd be nice to have a rule specifically for the use of f-strings and template formatting in the same call, since that can easily be a security vulnerability.