style: apply ruff lint fixes and formatting to figment modules

Fixes: unused imports, import sorting, unused variable, overly broad
exception type in test.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-19 11:09:46 -07:00
parent 14ed582454
commit 733b4dd9ec
5 changed files with 20 additions and 21 deletions

View File

@@ -31,7 +31,8 @@ class TestRasterizeSvg:
def test_nonexistent_file_raises(self):
import pytest
with pytest.raises(Exception):
with pytest.raises((FileNotFoundError, OSError)):
rasterize_svg("/nonexistent/file.svg", 40, 20)