developmentseed / eoAPI

[Active Development] Earth Observation API (Metadata, Raster and Vector services)
https://eoapi.dev
MIT License
197 stars 21 forks source link

Use "black" profile when running isort (commit hooks) #39

Closed leothomas closed 2 years ago

leothomas commented 2 years ago

There are some incompatibilities between the standard configurations for isort and black (ref.

To avoid issues of black and isort continuously reformatting the same file, add the --profile black option to isort

vincentsarago commented 2 years ago

@leothomas I think we got this covered in https://github.com/developmentseed/eoAPI/blob/e9be5863e8c500e6346f01012c4e058318563db3/setup.cfg#L3

leothomas commented 2 years ago

Oh perfect! I didn't see that! Closing