Skip to content

Commit

Permalink
From future import annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
finsberg committed Dec 17, 2024
1 parent e0e0990 commit 674e5fa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Install mri2mesh
run: |
python -m pip install -e ".[test]"
- name: Test with pytest
run: |
python -m pytest --cov=mri2mesh --cov-report html --cov-report xml --cov-report term-missing -v
Expand Down
1 change: 1 addition & 0 deletions src/mri2mesh/reader.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
from pathlib import Path
import logging
import typing
Expand Down
1 change: 1 addition & 0 deletions src/mri2mesh/surface/parenchyma.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import argparse
import typing
from pathlib import Path
Expand Down
1 change: 1 addition & 0 deletions src/mri2mesh/viz/mpl_slice.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from __future__ import annotations
import argparse
import typing
from pathlib import Path
Expand Down

0 comments on commit 674e5fa

Please sign in to comment.