Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,20 @@ jobs:
extra-pytest-warnings: ""

- os: ubuntu-latest
python-version: "3.12"
python-version: "3.14"
enable-coverage: "true"
extra-pytest-warnings: ""

- os: windows-latest
python-version: "3.12"
python-version: "3.14"
enable-coverage: "false"
extra-pytest-warnings: ""

# Run linter / checks
checks:
uses: ewoks-kit/.github/.github/workflows/python-check.yml@main
with:
enable-black: "false"
enable-flake8: "false"
enable-isort: "false"
enable-ruff: "true"
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ test = [
dev = [
"pytest >=7",
"ruff",
"black",
"mypy",
]
doc = [
Expand All @@ -60,7 +59,6 @@ where = ["src"]
omit = ["*/tests/*"]

[tool.ruff]

src = ["."]
line-length = 88

Expand Down
7 changes: 5 additions & 2 deletions src/ewoksdraw/svg/svg_canvas.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
from pathlib import Path
from typing import Iterator, List, Union
from typing import Iterator
from typing import List
from typing import Union
from xml.dom import minidom
from xml.etree.ElementTree import Element, tostring
from xml.etree.ElementTree import Element
from xml.etree.ElementTree import tostring

import xmltodict

Expand Down
3 changes: 2 additions & 1 deletion src/ewoksdraw/svg/svg_element.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from pathlib import Path
from typing import Literal, Optional
from typing import Literal
from typing import Optional
from xml.etree.ElementTree import Element


Expand Down
3 changes: 2 additions & 1 deletion src/ewoksdraw/svg/svg_group.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import re
from typing import Iterable, Union
from typing import Iterable
from typing import Union
from xml.etree.ElementTree import Element

from .svg_element import SvgElement
Expand Down
3 changes: 2 additions & 1 deletion src/ewoksdraw/svg/svg_task.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from ..config.constants import IO_INTER_IO_MARGIN, IO_TOP_MARGIN
from ..config.constants import IO_INTER_IO_MARGIN
from ..config.constants import IO_TOP_MARGIN
from .svg_group import SvgGroup
from .svg_task_box import SvgTaskBox
from .svg_task_io import SvgTaskIOGroup
Expand Down
3 changes: 2 additions & 1 deletion src/ewoksdraw/svg/svg_task_box.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from ..config.constants import BOX_MAX_WIDTH, BOX_MIN_WIDTH
from ..config.constants import BOX_MAX_WIDTH
from ..config.constants import BOX_MIN_WIDTH
from .svg_element import SvgElement


Expand Down
10 changes: 4 additions & 6 deletions src/ewoksdraw/svg/svg_task_io.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from typing import Literal

from ..config.constants import (
ANCHOR_LINKS_RADIUS,
IO_ANCHOR_TEXT_MARGIN,
IO_MIN_FONT_SIZE,
IO_TARGET_FONT_SIZE,
)
from ..config.constants import ANCHOR_LINKS_RADIUS
from ..config.constants import IO_ANCHOR_TEXT_MARGIN
from ..config.constants import IO_MIN_FONT_SIZE
from ..config.constants import IO_TARGET_FONT_SIZE
from .svg_group import SvgGroup
from .svg_task_anchor_link import SvgTaskAnchorLink
from .svg_text import SvgText
Expand Down
10 changes: 4 additions & 6 deletions src/ewoksdraw/svg/svg_task_title.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from typing import Optional

from ..config.constants import (
TITLE_HORIZONTAL_MARGIN,
TITLE_MIN_FONT_SIZE,
TITLE_TARGET_FONT_SIZE,
TITLE_VERTICAL_MARGIN,
)
from ..config.constants import TITLE_HORIZONTAL_MARGIN
from ..config.constants import TITLE_MIN_FONT_SIZE
from ..config.constants import TITLE_TARGET_FONT_SIZE
from ..config.constants import TITLE_VERTICAL_MARGIN
from .svg_text import SvgText


Expand Down
Loading