ghislainv / forestatrisk

📦🐍 Python package to model and forecast the risk of deforestation
https://ecology.ghislainv.fr/forestatrisk
GNU General Public License v3.0
116 stars 27 forks source link

apply black on forestatrisk #83

Closed 12rambau closed 1 year ago

12rambau commented 1 year ago

I use The Uncompromising Code Formatter black to lint the whole lib. Nothing has changed from a functional point of view.

This is automatically run in a lint github action based on the pre-commit hook I set up.

From your side it's as simple as:

pip install pre-commit
pre-commit install

and the check will be performed before every commit