Debian Codegraph @

cloup/warnings.py

raw
1 """
2 This module contains a boolean variable for each warning that may be raised
3 by Cloup. To suppress a warning, set the corresponding variable to ``False``.
4 This is an alternative to using ``warnings.filterwarnings`` that:
5
6 - IMHO, offers a better developer experience since setting a boolean is
7 easier and cleaner than writing a regex that matches a warning message
8 - can be used by Cloup itself to skip the checks that (may) generate a warning.
9 """
10
11 formatter_settings_conflict = True