diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3994982..d35d14e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,11 +16,11 @@ jobs: - uses: actions/checkout@v5.0.0 - uses: actions/setup-python@v6.0.0 with: - python-version: 3.11 + python-version: 3.13 - name: Run make check run: | tools/ci-build.sh - - uses: softprops/action-gh-release@v2.3.2 + - uses: softprops/action-gh-release@v2.4.1 if: startsWith(github.ref, 'refs/tags/') with: files: dist/*.oxt @@ -32,11 +32,11 @@ jobs: - uses: actions/checkout@v5.0.0 - uses: actions/setup-python@v6.0.0 with: - python-version: 3.11 + python-version: 3.13 - name: Run make pack run: | tools/ci-build.ps1 - - uses: softprops/action-gh-release@v2.3.2 + - uses: softprops/action-gh-release@v2.4.1 if: startsWith(github.ref, 'refs/tags/') with: files: dist/*.msi diff --git a/Makefile b/Makefile index 96bcb1d..b2537ec 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ check: check-mypy check-flake8 check-pylint check-unit @echo "make check: ok" check-mypy: $(PYTHON_OBJECTS) Makefile requirements.txt - env PYTHONPATH=.:tests mypy --python-version 3.11 --strict --no-error-summary $(PYTHON_OBJECTS) && touch $@ + env PYTHONPATH=.:tests mypy --python-version 3.13 --strict --no-error-summary $(PYTHON_OBJECTS) && touch $@ check-flake8: $(patsubst %.py,%.flake8,$(PYTHON_OBJECTS)) diff --git a/guide/src/hacking.md b/guide/src/hacking.md index a546ff5..bc5b3d4 100644 --- a/guide/src/hacking.md +++ b/guide/src/hacking.md @@ -5,7 +5,7 @@ Create it: ``` -python3.11 -m venv ged2dot-env +python3 -m venv ged2dot-env ``` Activate it: diff --git a/requirements.txt b/requirements.txt index 8ba4129..e5e71d2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -coverage==7.10.6 +coverage==7.11.0 flake8==7.3.0 -mypy==1.17.1 +mypy==1.18.2 pygraphviz==1.14 -pyinstaller==6.15.0 -pylint==3.3.8 +pyinstaller==6.16.0 +pylint==4.0.2 pyqt6==6.7.1 diff --git a/tests/test_ged2dot.py b/tests/test_ged2dot.py index 4fa8ee8..cd5e21e 100644 --- a/tests/test_ged2dot.py +++ b/tests/test_ged2dot.py @@ -160,9 +160,9 @@ def test_happy(self) -> None: tree = ET.parse(stream) root = tree.getroot() row = root.find("tr") - assert row + assert row is not None cell = row.find("td") - assert cell + assert cell is not None img = cell.find("img") assert img is not None actual_src = img.attrib.get("src")