Skip to content

Commit

Permalink
test on all 3 major platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
ker0olos committed Jun 10, 2024
1 parent cacc996 commit 091f3d8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ on:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"isort.args": [
"--profile",
"black"
"black",
"--length-sort"
],
"python.analysis.autoImportCompletions": true,
"files.exclude": {
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tool.isort]
profile = "black"
length_sort = true
10 changes: 5 additions & 5 deletions src/svg/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

from src.svg.path import Path, compare_bbs
from src.svg.utils import (
attrs_to_string,
define_groups,
purge,
dom_to_dict,
ellipse_to_pathd,
define_groups,
rect_to_pathd,
get_clip_paths,
lines_to_pathd,
attrs_to_string,
ellipse_to_pathd,
polygon_to_pathd,
polyline_to_pathd,
purge,
rect_to_pathd,
)

Group = namedtuple("Group", ["key", "attributes", "compiled", "children"])
Expand Down

0 comments on commit 091f3d8

Please sign in to comment.