swiss-seismological-service / SeismoStats

https://seismostats.readthedocs.io
GNU Affero General Public License v3.0
4 stars 3 forks source link

Global configs #141

Closed schmidni closed 1 month ago

schmidni commented 2 months ago

Add global options. Currently used to control display of warnings.

use get_option('warnings') to get the value of the warnings option, use set_option('warnings', False) to disable display of warnings.

(obviously, the actual display/hiding of the warnings still needs to be implemented)