Skip to content

Commit

Permalink
Merge pull request #375 from ed-velez/silence_pkg_resources_dep
Browse files Browse the repository at this point in the history
Silence pkg_resources deprecation warning
  • Loading branch information
dsgnr authored May 20, 2024
2 parents 2b9f403 + 4325c0d commit baf1ed6
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 baf1ed6

Please sign in to comment.