Skip to content

Commit

Permalink
hide FutureWarnings from user
Browse files Browse the repository at this point in the history
  • Loading branch information
mcquin committed Sep 27, 2017
1 parent fa0357f commit 5c0953f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cytominer_database/command.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
import os
import sys
import warnings

import click


class Command(click.MultiCommand):
def __init__(self):
super(Command, self).__init__()

warnings.simplefilter(action="ignore", category=FutureWarning)

def list_commands(self, context):
rv = []

Expand Down

0 comments on commit 5c0953f

Please sign in to comment.