Skip to content

Commit

Permalink
Merge pull request #40 from Pennycook/package-deprecation
Browse files Browse the repository at this point in the history
Deprecate the codebasin package
  • Loading branch information
Pennycook authored Feb 5, 2024
2 parents 71cef77 + cdf2261 commit eaa78bf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions codebasin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Copyright (C) 2019-2024 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
import warnings

import codebasin.walkers

warnings.warn(
"Calling codebasin package internals is deprecated. "
+ "Please call the codebasin script directly instead. "
+ "A new, stable, package interface will be introduced in "
+ "a future release of Code Base Investigator.",
DeprecationWarning,
)

0 comments on commit eaa78bf

Please sign in to comment.