Developer guide#
Introduction
New form
Warnings
- MolSysMT Warning System β Developer Guide
- 1) Why custom warnings?
- 2) Categories
- 3) Emitting warnings (two patterns)
- 4) Helpers:
warn
andwarn_once
(optional convenience) - 5) Choosing
stacklevel
- 6) Filtering and configuration (package & user)
- 7) Deprecation policy
- 8) Message style guide
- 9) Testing warnings (pytest)
- 10) Migration note (from
UserWarning
+ text prefix) - 11) Quick reference (cheat sheet)
- MolSysMT Logging and Warning Redirection β Developer Guide
Documentation