giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.31k stars 1.39k forks source link

Enforce ruff rule `raw-string-in-exception rule` #2324

Closed giampaolo closed 1 year ago

giampaolo commented 1 year ago

See: https://docs.astral.sh/ruff/rules/raw-string-in-exception/. This helps providing clearer tracebacks when exceptions are raised.