Skip to content

Commit

Permalink
Silence pkg_resources deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-velez committed Apr 11, 2024
1 parent 9c21288 commit 4325c0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions holland/commands/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@
Define command plugins
"""

import warnings

warnings.filterwarnings(
"ignore",
category=DeprecationWarning,
message="pkg_resources is deprecated as an API.*",
)

__import__("pkg_resources").declare_namespace(__name__)

0 comments on commit 4325c0d

Please sign in to comment.