Minor: Improved Ruff's rules