Skip to content

Commit

Permalink
Style fixes by Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamtaranto authored and github-actions[bot] committed Sep 20, 2024
1 parent dcf0fa9 commit 8f354c1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/python/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ def test_get_hash_array():
), "Hash array counts should match the counts of 'AAA' and 'AAC' and return zero for 'GGG'."
assert rev_counts == [0, 1, 2], "Count should be in same order as input list"


def test_get_array():
"""
Get vector of counts corresponding to vector of kmers.
"""
pass
pass
4 changes: 2 additions & 2 deletions src/python/tests/test_kmer_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@


def test_kmermap():
'''Test option to add kmermap'''
pass
"""Test option to add kmermap"""
pass
14 changes: 9 additions & 5 deletions src/python/tests/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@


def test_serialise():
'''Serialise object to JSON '''
"""Serialise object to JSON"""
pass


def test_deserialise():
'''Load object from file.'''
"""Load object from file."""
pass


def test_dump():
'''Write tab delimited kmer:count pairs'''
"""Write tab delimited kmer:count pairs"""
pass


def test_dump_hash():
'''Write tab delimited hash_count pairs '''
"""Write tab delimited hash_count pairs"""
pass


def test_histo():
'''Write frequency counts.'''
"""Write frequency counts."""
pass
1 change: 1 addition & 0 deletions src/python/tests/test_setops.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from test_basic import create_sample_kmer_table


# Set operations
def test_union():
table1 = create_sample_kmer_table(3, ["AAA", "AAC"])
Expand Down

0 comments on commit 8f354c1

Please sign in to comment.