Skip to content

Commit

Permalink
Update CI workflow to run pytest on all tests and add noqa comments f…
Browse files Browse the repository at this point in the history
…or linting
  • Loading branch information
CarlKCarlK committed Nov 2, 2024
1 parent 0edfc5d commit b1ac877
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,4 +200,4 @@ jobs:
else
source .venv/Scripts/activate
fi
pytest bed_runner
pytest .
4 changes: 2 additions & 2 deletions bed_reader/tests/test_opt_dep.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import pytest
import pytest # noqa: D100

from bed_reader import open_bed, sample_file


def test_optional_dependencies(shared_datadir) -> None:
def test_optional_dependencies(shared_datadir) -> None: # noqa: ANN001, D103
try:
from scipy import sparse
except ImportError:
Expand Down

0 comments on commit b1ac877

Please sign in to comment.