leximpact / leximpact-server

Simuler l'impact des réformes socio-fiscales en moins d'une minute
https://leximpact.an.fr
GNU Affero General Public License v3.0
4 stars 0 forks source link

Env to hide warnings #54

Closed benoit-cty closed 3 years ago

benoit-cty commented 3 years ago

I add a IGNORE_WARNING env variable to remove all warning that use Python warnings package (divide by 0 warning in NumPy, Pandas SettingWithCopyWarning, Deprecation...)

benoit-cty commented 3 years ago

Fonctionne sur https://leximpactserver-integ.leximpact.dev/ mais pas sur Scalingo (???)