Skip to content

Commit

Permalink
Disable function redefinition for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
tavinathanson committed Aug 31, 2015
1 parent 599acdb commit a4b2658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions varcode/variant_collection.py
Expand Up @@ -49,9 +49,9 @@ def __init__(
sort_key : callable
"""
if sort_key is None:
def sort_key_fn(variant):
# pylint: disable=function-redefined
def sort_key(variant):
return (variant.contig, variant.start)
sort_key = sort_key_fn

Collection.__init__(
self,
Expand Down

0 comments on commit a4b2658

Please sign in to comment.