Skip to content

Commit

Permalink
chore(deps): fix numba package version, and filter warns (#1468)
Browse files Browse the repository at this point in the history
* chore: fix numba package version, and filter warns

* fix: skip isort linter on init
  • Loading branch information
alexbarros authored and aquemy committed Oct 10, 2023
1 parent 8308e5a commit 9e9b4ad
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ typeguard>=2.13.2, <3
imagehash==4.3.1
wordcloud>=1.9.1
dacite>=1.8
numba>=0.56.0,<0.59.0
17 changes: 12 additions & 5 deletions src/ydata_profiling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,19 @@
.. include:: ../../README.md
"""
import importlib.util

from ydata_profiling.compare_reports import compare
from ydata_profiling.controller import pandas_decorator
from ydata_profiling.profile_report import ProfileReport
from ydata_profiling.version import __version__
# ignore numba warnings
import warnings # isort:skip # noqa
from numba.core.errors import NumbaDeprecationWarning # isort:skip # noqa

warnings.simplefilter("ignore", category=NumbaDeprecationWarning)

import importlib.util # isort:skip # noqa

from ydata_profiling.compare_reports import compare # isort:skip # noqa
from ydata_profiling.controller import pandas_decorator # isort:skip # noqa
from ydata_profiling.profile_report import ProfileReport # isort:skip # noqa
from ydata_profiling.version import __version__ # isort:skip # noqa

# backend
import ydata_profiling.model.pandas # isort:skip # noqa
Expand Down

0 comments on commit 9e9b4ad

Please sign in to comment.