mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
Fixes #2155 No longer need to explicitly ignore paramiko warnings. Big thanks to @cowlinator for the heads-up! Signed-off-by: Ruslan Kuprieiev <[email protected]>
22 lines
673 B
Python
22 lines
673 B
Python
"""
|
|
DVC
|
|
----
|
|
Make your data science projects reproducible and shareable.
|
|
"""
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
from dvc.version import __version__ # noqa: F401
|
|
import warnings
|
|
import dvc.logger
|
|
|
|
|
|
dvc.logger.setup()
|
|
|
|
# Ignore numpy's runtime warnings: https://github.com/numpy/numpy/pull/432.
|
|
# We don't directly import numpy, but our dependency networkx does, causing
|
|
# these warnings in some environments. Luckily these warnings are benign and
|
|
# we can simply ignore them so that they don't show up when you are using dvc.
|
|
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
|
|
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
|