Skip to content

Commit

Permalink
fix: 🚨 adjust stacklevel argument in DeprecationWarning for clearer w…
Browse files Browse the repository at this point in the history
…arning context
  • Loading branch information
Anselmoo committed Jan 22, 2025
1 parent 0d656f0 commit 3f8bc29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spectrafit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
" Please consider upgrading to Python 3.9 or newer."
" For more details, see:"
"https://devguide.python.org/versions/#end-of-life-branches.",
DeprecationWarning, stacklevel=2,
DeprecationWarning,
stacklevel=2,
)

__version__ = "1.2.0"

0 comments on commit 3f8bc29

Please sign in to comment.