Skip to content

Commit

Permalink
minor changes (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 authored Nov 12, 2021
1 parent 7e335de commit 05991f5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
- uses: actions/setup-python@v2
name: Install Python
with:
python-version: '3.9'
python-version: "3.9"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install dropbox build
pip install build
- uses: actions/cache@v2
id: cache
Expand All @@ -51,7 +51,10 @@ jobs:

- name: Build sdist
if: matrix.os == 'ubuntu-20.04'
run: python -m build --sdist
run: |
pip install check-manifest
check-manifest
python -m build --sdist
- uses: actions/upload-artifact@v2
if: matrix.os == 'ubuntu-20.04'
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ filterwarnings =
[check-manifest]
ignore =
src/nd2/_version.py
ignore-bad-ideas =
*.so

[mypy]
files = src/nd2
Expand Down
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

DATA = Path(__file__).parent / "data"
MAX_FILES = None
ALL = sorted(DATA.glob("*.nd2"), key=lambda x: x.stat().st_size)[:MAX_FILES]
ALL = sorted(
(x for x in DATA.glob("*.nd2") if not x.name.startswith(".")),
key=lambda x: x.stat().st_size,
)[:MAX_FILES]
NEW: List[Path] = []
OLD: List[Path] = []

Expand Down

0 comments on commit 05991f5

Please sign in to comment.